Search results for

“xcode github”

97,549 results found

Post

Replies

Boosts

Views

Activity

Reply to Saving a project swift UI WITH Xcode and playing again
I'd definitely get started with using the tools in Xcode, and review the link to the docs I shared: https://developer.apple.com/documentation/xcode/source-control-management. The for the most part, if you're remaining local, you only have to worry about committing the changes. When you do want to start working with GitHub, I believe their free account supports private repositories, so you don't have to share your code with the world.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’24
Reply to NSPersistentCloudKitContainer with public database doesn't work and is poorly documented
I've had a similar problem trying to get the boiler plate app code that is generated by Xcode for a new project to run correctly. The App (which worked in Xcode12.x) not tries to connect to iCloud and appears to have authentication problems... it generates failed to sync users messages when it tried to connect on a simulator that has a valid user signed in. Steps to repeat: Start a new project in Xcode 12.x with CloudKit and CoreData enabled Enable the remote notifications and iCloud capabilities, selecting CloudKit and creating a new container Make a couple of changes to the ContentView to fix the error in the generated code (needs to include a PaginationView and wrap the toolbar elements in ToolbarItem Views) Run on two signed-in simulators and observe the synchronisation working (noting that perhaps now you need to close the app and restart it for the sync to work, instead of the old minimise refresh trick) Close Xcode 12.x and start t
Topic: App & System Services SubTopic: iCloud Tags:
Jun ’21
Reply to building for OSX, but linking in object file built for iOS
I'm not actually using Xcode for anything. It's there because it supposedly has the pieces to do this build. The build simply uses makefiles that invoke a gcc binary.This Mac was recently upgraded to OS X v10.10.5 from an older version (I forget what it was) by a contractor. Prior to the upgrade, we had a configuration that worked for doing this build. The configuration had everything in the /Developer hierarchy, which the contractor says is the hierarchy that Xcode used to create. So, to your question about whether Xcode 7 can build an iOS dylib, I would think it can, since whatever older version of Xcode we had before was able to do it.I can copy the old /Developer hierarchy from the backup to the main disk, but with the newer version of OS X it no longer works. The contractor suggested installing Xcode v7.2.1, which is the newest Xcode that can be used with OS X v10.10.5. We did the install, but where the old /Developer hierar
Oct ’17
Reply to LLDB RPC server crash in Xcode 16.3
Same here: lldb started crashing with simulator on encountering breakpoints, as of right now it even seems to crash reliably after some time. It seems to work properly on physical device Sequoia 15.4, XCode 16.2, iPhone 16 pro simulator 18.2 If that matters: I use github copilot xcode extension and that one also has issues => chat assistant crashes a lot and forces me to relaunch xcode every couple requests report.txt
May ’25
Reply to Unable to discover services for retrieved peripheral
Have you found any solution? I am having the same problem using XCode 7 and Swift, and testing on an iPhone 6s running 9.x and a 6 running 8.3. The discovery of the peripheral succeeds, the connect succeeds, but the call to discoverServices never results in a While I can't find it documented in any Apple materials, I see comments that the didDiscoverServices call back should be called no matter what - either with an error or a collection of services. I have tried passing in an array of services to look for, as well as nil. I have tried waiting several minutes. I have another app that consistently connects to the same peripheral using the same service, so I know the problem is with code. I also tried running a project from github that uses the same basic connection (https://github.com/MichMich/nRF8001-Swift), and get the same results (after updating the project to work around a lot of complile errors for my updated environment).Finally, I also tried connecting to a different
Sep ’15
Reply to In-app purchase restore not work in 10.2.1
1) what is the error returned in restoreCompletedTransactionsFailedWithError2) Can you comment on this in my earlier post:One thing you wrote: We installed our app(v1.x) from the App store and then installed (v2.x) from Test filght. In this version, the buy In-app purchase and Restore options were provided.Installing an app over another app rather than deleting the first version will change the code that is run (i.e. you will get the options in v2.x) but it may not change the signature of the app - that is, the app installed from Xcode may think it was installed from the App Store and seek out the production environment rather than the sandbox environment for all IAP functions.
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’17
Reply to iOS IKEv2 Vpn Connection
can you upload the Xcode project to GitHub?Please drop me a line via email (my email address is in my signature).Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
May ’18
Reply to code signing - old Xcode, old Mac, new iOS
There’s two parts to this: Signing an app for iOS 15 Xcode support for iOS 15 The latter requires Xcode 13, which means at least macOS 11.3 (the table in Developer > Support > Xcode is something I like to keep handy). There’s no supported way around this. When it comes to code signing, the codesign tool is part of macOS and thus the code signature format you get is determined by your macOS version (Xcode only comes into play based on the arguments it passes to codesign). And AFAIK the macOS 10.15.x codesign is incapable of producing DER entitlements, which is what’s required by iOS 15 [1]. Honestly, the best way forward here is to get a new Mac. Everything else either puts your on an unsupported path, or will burn through a lot of your time, or some combination of the two. For example, macOS 10.15.x can run macOS 11 in a VM and so you could fire up a VM just to sign your code. However, that’s a significant amount of hassle
Topic: Code Signing SubTopic: General Tags:
Nov ’21
Code Snippets sync on all device or iCloud or Github?
I start to feel the need for code snippets :-)i just create my first one, and then i remembered that i often erase my computer, and i have two computers that i use xCode on (MacBook and MacBook Air).How to keep those snippets on all machine in sync and/or bring them back after a clean install.i found this xCode plugin which is 5 years old, i do not know if it workhttps://github.com/acoomans/ACCodeSnippetRepositoryPluginbut i guess the best way for me would be to have this xcode pref on icioud drive i am not sure but i think that is system preference -> keyboard -> text all replacement created there are sync to new machine,it would be nice to have something like that for snippetsof maybe it is already like that any suggestions Thank you
1
0
1.4k
Dec ’18
Reply to iOS 13.6.1
I too am having this issue. I have rebooted the device as well as my machine. Xcode version: 11.7 (11E801a) OS: 10.15.4 (19E266) Catalina Here is the error displayed in the Devices window: The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902,… To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. In the Issue Details: Details The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7. Domain: com.apple.dtdevicekit Code: 601 Recovery Suggestion: To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. User Info: { DVTRadarComponentKey = 487927; DeviceType = iPhone10,3; }- Unable
Sep ’20
Reply to xcodebuild[56491:10396296] [MT] DVTAssertions: Warning in Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
I got a bunch of these warnings when building a React Native project on a GitHub-hosted Mac runner with macOS 13 and Xcode 15.0.1, but it did eventually succeed (total job time was 25 minutes). Not sure if the number of Swift files affects the outcome, but it's possible.
Replies
Boosts
Views
Activity
Oct ’23
Reply to Unable to use Leaks in Instruments
(I think my reply got moderated for having a URL in it)I'm building the app in Xcode using Product->Profile.If it helps, the app is open source. It lives on GitHub in Hammerspoon/hammerspoon (note that to build it you need to pip install -r requirements.txt for something the docs need)
Replies
Boosts
Views
Activity
Jul ’18
Reply to iOS 16.1.1 Support for XCode run destination
hello, I worked around the same problem. The solution that I found was adding iOS 16.1 the device support file inside the Xcode app in path contents/Developer/platform/iPhoneOS.platform/DeviceSupport You can download it from GitHub or you can download the new beta version and grab the directory from it.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’22
Reply to Saving a project swift UI WITH Xcode and playing again
I'd definitely get started with using the tools in Xcode, and review the link to the docs I shared: https://developer.apple.com/documentation/xcode/source-control-management. The for the most part, if you're remaining local, you only have to worry about committing the changes. When you do want to start working with GitHub, I believe their free account supports private repositories, so you don't have to share your code with the world.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to NSPersistentCloudKitContainer with public database doesn't work and is poorly documented
I've had a similar problem trying to get the boiler plate app code that is generated by Xcode for a new project to run correctly. The App (which worked in Xcode12.x) not tries to connect to iCloud and appears to have authentication problems... it generates failed to sync users messages when it tried to connect on a simulator that has a valid user signed in. Steps to repeat: Start a new project in Xcode 12.x with CloudKit and CoreData enabled Enable the remote notifications and iCloud capabilities, selecting CloudKit and creating a new container Make a couple of changes to the ContentView to fix the error in the generated code (needs to include a PaginationView and wrap the toolbar elements in ToolbarItem Views) Run on two signed-in simulators and observe the synchronisation working (noting that perhaps now you need to close the app and restart it for the sync to work, instead of the old minimise refresh trick) Close Xcode 12.x and start t
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to sourcecontrol.Git occupies a lot of CPU resources
here's my solution... turn off source control as described by Mougfrey, and i use github desktop app instead to do source control with github https://desktop.github.com/
Replies
Boosts
Views
Activity
Jan ’24
Reply to building for OSX, but linking in object file built for iOS
I'm not actually using Xcode for anything. It's there because it supposedly has the pieces to do this build. The build simply uses makefiles that invoke a gcc binary.This Mac was recently upgraded to OS X v10.10.5 from an older version (I forget what it was) by a contractor. Prior to the upgrade, we had a configuration that worked for doing this build. The configuration had everything in the /Developer hierarchy, which the contractor says is the hierarchy that Xcode used to create. So, to your question about whether Xcode 7 can build an iOS dylib, I would think it can, since whatever older version of Xcode we had before was able to do it.I can copy the old /Developer hierarchy from the backup to the main disk, but with the newer version of OS X it no longer works. The contractor suggested installing Xcode v7.2.1, which is the newest Xcode that can be used with OS X v10.10.5. We did the install, but where the old /Developer hierar
Replies
Boosts
Views
Activity
Oct ’17
Reply to LLDB RPC server crash in Xcode 16.3
Same here: lldb started crashing with simulator on encountering breakpoints, as of right now it even seems to crash reliably after some time. It seems to work properly on physical device Sequoia 15.4, XCode 16.2, iPhone 16 pro simulator 18.2 If that matters: I use github copilot xcode extension and that one also has issues => chat assistant crashes a lot and forces me to relaunch xcode every couple requests report.txt
Replies
Boosts
Views
Activity
May ’25
Reply to Unable to discover services for retrieved peripheral
Have you found any solution? I am having the same problem using XCode 7 and Swift, and testing on an iPhone 6s running 9.x and a 6 running 8.3. The discovery of the peripheral succeeds, the connect succeeds, but the call to discoverServices never results in a While I can't find it documented in any Apple materials, I see comments that the didDiscoverServices call back should be called no matter what - either with an error or a collection of services. I have tried passing in an array of services to look for, as well as nil. I have tried waiting several minutes. I have another app that consistently connects to the same peripheral using the same service, so I know the problem is with code. I also tried running a project from github that uses the same basic connection (https://github.com/MichMich/nRF8001-Swift), and get the same results (after updating the project to work around a lot of complile errors for my updated environment).Finally, I also tried connecting to a different
Replies
Boosts
Views
Activity
Sep ’15
Reply to In-app purchase restore not work in 10.2.1
1) what is the error returned in restoreCompletedTransactionsFailedWithError2) Can you comment on this in my earlier post:One thing you wrote: We installed our app(v1.x) from the App store and then installed (v2.x) from Test filght. In this version, the buy In-app purchase and Restore options were provided.Installing an app over another app rather than deleting the first version will change the code that is run (i.e. you will get the options in v2.x) but it may not change the signature of the app - that is, the app installed from Xcode may think it was installed from the App Store and seek out the production environment rather than the sandbox environment for all IAP functions.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to iOS IKEv2 Vpn Connection
can you upload the Xcode project to GitHub?Please drop me a line via email (my email address is in my signature).Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
May ’18
Reply to code signing - old Xcode, old Mac, new iOS
There’s two parts to this: Signing an app for iOS 15 Xcode support for iOS 15 The latter requires Xcode 13, which means at least macOS 11.3 (the table in Developer > Support > Xcode is something I like to keep handy). There’s no supported way around this. When it comes to code signing, the codesign tool is part of macOS and thus the code signature format you get is determined by your macOS version (Xcode only comes into play based on the arguments it passes to codesign). And AFAIK the macOS 10.15.x codesign is incapable of producing DER entitlements, which is what’s required by iOS 15 [1]. Honestly, the best way forward here is to get a new Mac. Everything else either puts your on an unsupported path, or will burn through a lot of your time, or some combination of the two. For example, macOS 10.15.x can run macOS 11 in a VM and so you could fire up a VM just to sign your code. However, that’s a significant amount of hassle
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Code Snippets sync on all device or iCloud or Github?
I start to feel the need for code snippets :-)i just create my first one, and then i remembered that i often erase my computer, and i have two computers that i use xCode on (MacBook and MacBook Air).How to keep those snippets on all machine in sync and/or bring them back after a clean install.i found this xCode plugin which is 5 years old, i do not know if it workhttps://github.com/acoomans/ACCodeSnippetRepositoryPluginbut i guess the best way for me would be to have this xcode pref on icioud drive i am not sure but i think that is system preference -> keyboard -> text all replacement created there are sync to new machine,it would be nice to have something like that for snippetsof maybe it is already like that any suggestions Thank you
Replies
1
Boosts
0
Views
1.4k
Activity
Dec ’18
Reply to iOS 13.6.1
I too am having this issue. I have rebooted the device as well as my machine. Xcode version: 11.7 (11E801a) OS: 10.15.4 (19E266) Catalina Here is the error displayed in the Devices window: The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902,… To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. In the Issue Details: Details The current device configuration is unsupported. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 13.6.1 (17G80), which is not supported by Xcode 11.7. Domain: com.apple.dtdevicekit Code: 601 Recovery Suggestion: To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website. User Info: { DVTRadarComponentKey = 487927; DeviceType = iPhone10,3; }- Unable
Replies
Boosts
Views
Activity
Sep ’20
Reply to WKWebView: build fail for iOS 10.2. XCode9 beta 6
The issue is not fixed in the official relase of Xcode 9 yet, however, this is only an issue if you add a WKWebView in your storyboard. If you instead, create and add a WKWebView as a subview in code, everything will work just fine and you can target iOS versions below 11 (e.g. 10.x).
Replies
Boosts
Views
Activity
Sep ’17