Search results for

“xcode github”

96,035 results found

Post

Replies

Boosts

Views

Activity

🤔 GitHub tensorflow macOS alpha had better performance on M1?
Hello, I noticed a substantial decrease in performance compared to previous releases of tensorflow for M1 Macs. I previously installed the alpha release of tensorflow for M1 from GitHub, found here: https://github.com/apple/tensorflow_macos and was very impressed by the performance. I used the following script to benchmark my M1 Mac and other systems: https://gist.github.com/tampapath/662aca8cd0ef6790ade1bf3c23fe611a#file-fashin_mnist-py Running the alpha release from GitHub, my M1 Mac handsomely outperformed both google colab's random GPU offerings and an RTX 2070 windows computer. Recently, I went back to the GitHub repository, looking for new updates on tensorflow support for the M1 and was redirected here to the tensorflow-metal PluggableDevices installation guide: https://developer.apple.com/metal/tensorflow-plugin/ After installing the conda environment and running the same benchmark script, I realized my M1 systems's was running much slower. Additionally, the following error
7
0
4.1k
Aug ’21
Reply to Can you use apple developer programs like swift or X code on a pc?
Swift is open source and availible at: https://swift.org/It doesn't look that there is a offical Windows download on the site but it should be possibile to get it to run, especially considering the recent support for Unix command line tools on Windows. I would recomend a bit of googling.Xcode requiers a mac running OS X. I would highly recommend a mac that can run the latest version of OS X so that you can run the latest version of Xcode. Note that some of the tools used by Xcode e.g. clang (the C/C++/Objective-C compiler) are open source and can be run on other OSes. What Xcode gives you is access to the OS X frameworks (code libariaries) to e.g. build the app GUI (Graphical User Interface). Also note that it may be eaiser to get tools like clang and swift running on Linux, rather than Windows, as Linux and OS X are more closely related - they are both Unix like OSes.
Topic: Programming Languages SubTopic: Swift Tags:
May ’16
Reply to Unable to use ARGeoTrackingConfiguration when launching a new AR Session in the app - 15.4 (and 15.41.)
@glow it sounds like a bad bug. The sample code from 14.0 is breaking in 15.4. Apple DTS told us there is no workaround. That's… not a good sign. It's possible the next version of Xcode builds and compiles to retcon a fix on 15.4.x. It's either an official fix from a new SDK, an unofficial fix in the form of discovering some kind of hacky private API to fix 15.4.x, or engineers just have to permanently gate their users from ARGeoTrackingConfiguration on 15.4.x.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Reply to Xcode 15 beta 7 Previews building issue
Seeing similar behavior on both Xcode 15.0.1 RC and Xcode 15.1 Beta. In our case, it's iOS SwiftUI Previews not working at all in SPM package (as opposed to for example an iOS app). Same code works fine on Xcode 14.x versions. Edit: Submitted case **** for this alongside diagnostics. Hope it helps, thanks for looking into it @Developer Tools Engineer!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
Reply to Xcode unsupported iOS version after beta update 14.5 error 18e5140k
Hi, I had the problem, in my case for version 14.7. And my surprise is that it was not available on GitHub, I managed to fix the problem by doing this: Search and Download the required version of required os, or like in my case the closest available version of required os from GitHub in my case it was 14.6. Add downloaded iOS version (14.6) to the device support file inside the Xcode app in path contents/Developer/platform/iPhoneOS.platform/DeviceSupport (if you found the required version of the OS, the solution ends here). Try using iOS 14.6 device support files, just name it 14.7. I was able to run on iOS 14.7 using iOS 14.6 device support files on Xcode 12.4. ty
Aug ’21
Reply to Xcode 9: Symbol not found: _utimensat
Apparently you have to have the XCode command-line tools installed to get this running. I found a Github Issue with some comments. First I deleted rbenv (I'm running brew) and then I ran xcode-select --install to install the command-line tools. Once done I reinstalled rbenv and was able to rbenv install 2.3.0 fine after that.
Sep ’17
Reply to App not appearing in Settings -> Notifications
>No code changes, just rebuilding in current Xcode for deployment target iOS-8 >Updating working Apps to keep up with ongoing iOS and Xcode changes is quite a task!You seem to not actually be keeping up 😉Bear in mind that UIUserNotificationSettings is already deprecated with current iOS 10.x/Xcode in favor of UNNotificationSettingsSee:UIUserNotificationSettingshttps://developer.apple.com/reference/usernotifications/unnotificationsettings
Jan ’17
X Code does not automatically create app id on developer portal
Hi,as indicated in the title, Xcode is not being able to automatically create app Id and provisioning profile for an app i'm developing. I have checked the Automatically manage signing option but on the developer portal i can't see any app id or provisioning profile matching the provided bundle identifier.The problem arises only if I select, in the team selection, my developer account . For example, by using my enterprise account, the waiting to repair message is shown in Xcode and i can see the new app id created in the enterprise account portal.If I change the bundle identifier and I select again my developer account, nothing happens, no errors and no warnings. I'm able to install the application on a device and all seems to be good. However, in my developer portal I still do not see the app id and provisioning profile so i can't send the application to iTunes connect in order to submit to the Apple store,Moreover, trying with other apps, all is ok even using my developer account.I searche
2
0
4.8k
Jun ’17
XCodebuild test failed `SecKeychainCopyDefault` with -25307 on Github Action
I'm setting up unit tests for my application using Xcode. When I tried to access default keychain on MacOS using SecKeychainCopyDefault, I got error OSStatus -25307, which means A default keychain could not be found. The tests worked locally, and the issue only happened with Github Actions. Would anyone have any insight on this issue, or point me to some reading I can refer to? Thanks in advance! Here is some more tests I've done here. I tried to run security default-keychain on GithubAction, and I got > security default-keychain /Users/runner/Library/Keychains/login.keychain-db However, when I tried to start a shell to run the same security command in my unit test, I got SecKeychainCopyDefault: A default keychain could not be found. Here is my test calling security command from shell: static func run_shell(_ command: String) -> String { let task = Process() let pipe = Pipe() task.standardOutput = pipe task.standardError = pipe task.arguments = [-c, command] task.launchPath = /bin/zsh
4
0
1.3k
Mar ’24
Reply to Unsupported SDK or Xcode version (XCode 15.4 running on MacOS 15)
Was able to solve the problem. This problem was caused by macOS 15.0, which I already installed. It did not matter, which xCode version I used. So I organized a cloud access to a Mac (with macOS Sonoma and xCode 15.4) (https://www.macincloud.com), cloned the project from GitHub and archived and sent it to Apple Store connect again. Now, was able to send it to Apple to check it.
Jun ’24
Reply to C++ Linker Error on M1 Mac running Hello World Program
I uninstalled X-Code and re-installed Code Runner 4, which resolved the problem... I was not using X-Code anyway... Cheers, Leandro Meinhardt
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
🤔 GitHub tensorflow macOS alpha had better performance on M1?
Hello, I noticed a substantial decrease in performance compared to previous releases of tensorflow for M1 Macs. I previously installed the alpha release of tensorflow for M1 from GitHub, found here: https://github.com/apple/tensorflow_macos and was very impressed by the performance. I used the following script to benchmark my M1 Mac and other systems: https://gist.github.com/tampapath/662aca8cd0ef6790ade1bf3c23fe611a#file-fashin_mnist-py Running the alpha release from GitHub, my M1 Mac handsomely outperformed both google colab's random GPU offerings and an RTX 2070 windows computer. Recently, I went back to the GitHub repository, looking for new updates on tensorflow support for the M1 and was redirected here to the tensorflow-metal PluggableDevices installation guide: https://developer.apple.com/metal/tensorflow-plugin/ After installing the conda environment and running the same benchmark script, I realized my M1 systems's was running much slower. Additionally, the following error
Replies
7
Boosts
0
Views
4.1k
Activity
Aug ’21
Reply to Xcode 13.2 - Internal error : Missing Package Description Module
Isn't this the one where you have to remove the IDESourceControlKnownSSHHostsDefaultsKey key from ~/Library/Preferences/com.apple.dt.Xcode.plist ? IIRC I had to do this after upgrading to 13.x. https://forums.swift.org/t/according-to-xcode-the-identity-of-a-repository-hosted-on-github-com-has-changed/53560/6
Replies
Boosts
Views
Activity
Dec ’21
Reply to [iOS 18] Scrolling behavior does not work only when built in Xcode 16
@DTS Engineer I used Sample Code above to run from Xcode 16.1 beta 3 to iOS 18.1 simulator, but the same issue is reproduced. However, for iOS 17.x versions in the same environment, it works seamlessly and well.
Replies
Boosts
Views
Activity
Oct ’24
Reply to Can you use apple developer programs like swift or X code on a pc?
Swift is open source and availible at: https://swift.org/It doesn't look that there is a offical Windows download on the site but it should be possibile to get it to run, especially considering the recent support for Unix command line tools on Windows. I would recomend a bit of googling.Xcode requiers a mac running OS X. I would highly recommend a mac that can run the latest version of OS X so that you can run the latest version of Xcode. Note that some of the tools used by Xcode e.g. clang (the C/C++/Objective-C compiler) are open source and can be run on other OSes. What Xcode gives you is access to the OS X frameworks (code libariaries) to e.g. build the app GUI (Graphical User Interface). Also note that it may be eaiser to get tools like clang and swift running on Linux, rather than Windows, as Linux and OS X are more closely related - they are both Unix like OSes.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’16
Reply to Unable to use ARGeoTrackingConfiguration when launching a new AR Session in the app - 15.4 (and 15.41.)
@glow it sounds like a bad bug. The sample code from 14.0 is breaking in 15.4. Apple DTS told us there is no workaround. That's… not a good sign. It's possible the next version of Xcode builds and compiles to retcon a fix on 15.4.x. It's either an official fix from a new SDK, an unofficial fix in the form of discovering some kind of hacky private API to fix 15.4.x, or engineers just have to permanently gate their users from ARGeoTrackingConfiguration on 15.4.x.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode 15 beta 7 Previews building issue
Seeing similar behavior on both Xcode 15.0.1 RC and Xcode 15.1 Beta. In our case, it's iOS SwiftUI Previews not working at all in SPM package (as opposed to for example an iOS app). Same code works fine on Xcode 14.x versions. Edit: Submitted case **** for this alongside diagnostics. Hope it helps, thanks for looking into it @Developer Tools Engineer!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Xcode unsupported iOS version after beta update 14.5 error 18e5140k
Hi, I had the problem, in my case for version 14.7. And my surprise is that it was not available on GitHub, I managed to fix the problem by doing this: Search and Download the required version of required os, or like in my case the closest available version of required os from GitHub in my case it was 14.6. Add downloaded iOS version (14.6) to the device support file inside the Xcode app in path contents/Developer/platform/iPhoneOS.platform/DeviceSupport (if you found the required version of the OS, the solution ends here). Try using iOS 14.6 device support files, just name it 14.7. I was able to run on iOS 14.7 using iOS 14.6 device support files on Xcode 12.4. ty
Replies
Boosts
Views
Activity
Aug ’21
Reply to Xcode 9: Symbol not found: _utimensat
Apparently you have to have the XCode command-line tools installed to get this running. I found a Github Issue with some comments. First I deleted rbenv (I'm running brew) and then I ran xcode-select --install to install the command-line tools. Once done I reinstalled rbenv and was able to rbenv install 2.3.0 fine after that.
Replies
Boosts
Views
Activity
Sep ’17
Reply to App not appearing in Settings -> Notifications
>No code changes, just rebuilding in current Xcode for deployment target iOS-8 >Updating working Apps to keep up with ongoing iOS and Xcode changes is quite a task!You seem to not actually be keeping up 😉Bear in mind that UIUserNotificationSettings is already deprecated with current iOS 10.x/Xcode in favor of UNNotificationSettingsSee:UIUserNotificationSettingshttps://developer.apple.com/reference/usernotifications/unnotificationsettings
Replies
Boosts
Views
Activity
Jan ’17
X Code does not automatically create app id on developer portal
Hi,as indicated in the title, Xcode is not being able to automatically create app Id and provisioning profile for an app i'm developing. I have checked the Automatically manage signing option but on the developer portal i can't see any app id or provisioning profile matching the provided bundle identifier.The problem arises only if I select, in the team selection, my developer account . For example, by using my enterprise account, the waiting to repair message is shown in Xcode and i can see the new app id created in the enterprise account portal.If I change the bundle identifier and I select again my developer account, nothing happens, no errors and no warnings. I'm able to install the application on a device and all seems to be good. However, in my developer portal I still do not see the app id and provisioning profile so i can't send the application to iTunes connect in order to submit to the Apple store,Moreover, trying with other apps, all is ok even using my developer account.I searche
Replies
2
Boosts
0
Views
4.8k
Activity
Jun ’17
Reply to Help with ORKImageChoiceAnswerFormat
An answer for this question has been posted to the ResearchKit GitHub repository Issues page. Please go to github dot com slash ResearchKit.
Replies
Boosts
Views
Activity
Mar ’16
Reply to [iOS26 Bug] UITableView AutomaticDemension not respected unless backgroundColor is set
Apologies — the GitHub link in the original post was incorrect. Here’s the correct one: Sample Project on GitHub
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Aug ’25
XCodebuild test failed `SecKeychainCopyDefault` with -25307 on Github Action
I'm setting up unit tests for my application using Xcode. When I tried to access default keychain on MacOS using SecKeychainCopyDefault, I got error OSStatus -25307, which means A default keychain could not be found. The tests worked locally, and the issue only happened with Github Actions. Would anyone have any insight on this issue, or point me to some reading I can refer to? Thanks in advance! Here is some more tests I've done here. I tried to run security default-keychain on GithubAction, and I got > security default-keychain /Users/runner/Library/Keychains/login.keychain-db However, when I tried to start a shell to run the same security command in my unit test, I got SecKeychainCopyDefault: A default keychain could not be found. Here is my test calling security command from shell: static func run_shell(_ command: String) -> String { let task = Process() let pipe = Pipe() task.standardOutput = pipe task.standardError = pipe task.arguments = [-c, command] task.launchPath = /bin/zsh
Replies
4
Boosts
0
Views
1.3k
Activity
Mar ’24
Reply to Unsupported SDK or Xcode version (XCode 15.4 running on MacOS 15)
Was able to solve the problem. This problem was caused by macOS 15.0, which I already installed. It did not matter, which xCode version I used. So I organized a cloud access to a Mac (with macOS Sonoma and xCode 15.4) (https://www.macincloud.com), cloned the project from GitHub and archived and sent it to Apple Store connect again. Now, was able to send it to Apple to check it.
Replies
Boosts
Views
Activity
Jun ’24