Search results for

“xcode github”

95,431 results found

Post

Replies

Boosts

Views

Activity

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 Why wrong window size:
I think I'm seeing the same thing. I am getting screen dimensions of 320.0 X 480.0 when I call UIScreen.mainScreen().bounds in portrait orientation, regardless of whether I use iPhone 4S, iPhone 5 or iPhone6 simulator. I expect these dimensions on iPhone 4S, but not on the other platforms. On the 5 and 6, the app presents with black bars at the top and bottom. My code was working correctly prior to iOS 9 / XCode 7 / OS X 10.11 / Swift 2.0.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to iOS 10 - [UIDeviceRGBColor countByEnumeratingWithState:objects:count:]: unrecognized selector
Meanwhile I have isolated the bug by removing almost all code from my project, with the bug still remaining. You can download it here:https://www.dropbox.com/s/b7jggae97889xka/Bugtest.zip?dl=0The xib references a lot of undefined classes (which I removed for clarity) but those are just warnings, not errors. The code compiles and runs just fine when compiled by XCode 7.x with the iOS 9 SDK.When compiled with the XCode 8 beta 6 and iOS 10 SDK, even when running on an iOS 9.x device, you get the exception. On a device you get a bunch of hex addresses, but on the simulator you get a nice calling tree showing clearly that the crash happens deep down inside initWithNibName:bundle:.If you enable the ugly hack in HackForUnrecognizedSelectorInIOS10.m by changing #if 0 to if 1, the code runs without problems with the 10.0 SDK. But obviously you can't really ship code like that.Can anyone reproduce this so I know it's not just something on my machin
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’16
Reply to How to use vibe tools in Xcode
To setup Claude Opus 4 with Xcode 26’s Coding Assistant: Generate an API key at console.anthropic.com/settings/keys. In Xcode → Settings → Intelligence: Choose Add a Model Provider → Internet Hosted URL: https://api.anthropic.com/ API key header: x-api-key Paste your generated API key from step 1. (Requires an Apple silicon Mac with macOS 26.)
Jun ’25
Reply to Problems after updating to Xcode 13.3
UPDATE 1: In order for the mac to stop asking me to update the setting for iCloud services, I had to change the password of my Apple ID. I'll wait a bit before trying to update again on macOS 12.3. I have settings that skipped for example github and gitlab accounts with Xcode. There may be others, I'll have to check.
Mar ’22
Reply to In the past, it was possible to set the editor in such a way that ...for(i=0;i<n;++i){instruction1;...instruction k;} can be replaced by for(i=0;i<n;++i){...}. It was very convenient to compact the edition. However, such functionality doesn't seem to exis
>> I think the question is about code foldingIn that case, the answer is:Currently (in Xcode 9.x), you can't code-fold loops in Objective-C source files. You can only fold functions, methods and classes. (Nobody knows why — maybe this will come back in the future).In Swift, you can fold any scope defined by braces ({ … }), but the code folding ribbon is gone. You have to use the functions on the Editor -> Code Folding submenu, or their keyboard equivalents such as Command-Option-Left/Right Arrow.
Dec ’17
Reply to How can we create class diagram in Xcode 7 and above?
Found this ; they mention OmniGraffle, but it seems to have limitsanda freeware (github, so you could customize):h ttps://stackoverflow.com/questions/29186136/uml-class-diagrams-for-xcode-swift-programmingEditedI tested, it's very interesting ; clearly, the set up on the page could be improved (up to us to improve the freeware), but a very good starting point.
Topic: Programming Languages SubTopic: General Tags:
Sep ’17
Reply to Set 12 vs 24 hour with the new date formatting API in iOS 15
First, thanks for re-posting. Second, I’m going to drop a link to Unicode Technical Standard #35 Unicode Locale Data Markup Language (LDML) Part 4: Dates, just for the benefit of Future Quinn™. Third, I apologise in advance for harping on about the old API, but you’ll understand why in a second. You wrote: I could use formatter.setLocalizedDateFormatFromTemplate(isTwentyFourHourClock ? HHmm : hhmm) Unfortunately that doesn’t work, even for ‘simple’ cases like US English. Consider the code at the end of this post. Put that code into a test app and run it on an device. Now configure your device as follows: Set Settings > General > Language & Region > Region to United States. Set Settings > General > Date & Time > 24-Hour Time to On. Now run the code. It prints this: locale: en_US (current) format: X .standard X .preferred X .force12Hour X .force24Hour X AM: X 09:42 X 09:42 X 09:42 X
Topic: App & System Services SubTopic: General Tags:
Mar ’22
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 How do you do these Extensions with static methods?
I'm not seeing that error in the playground I used to test the code (Xcode 7 beta 6, OS X playground).Have you cleaned the project since updating, so that everything will be recompiled?If that doesn't help, I'd search the project for typealias FetchableType and see if you have extra definitions somewhere?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Why wrong window size:
I think I'm seeing the same thing. I am getting screen dimensions of 320.0 X 480.0 when I call UIScreen.mainScreen().bounds in portrait orientation, regardless of whether I use iPhone 4S, iPhone 5 or iPhone6 simulator. I expect these dimensions on iPhone 4S, but not on the other platforms. On the 5 and 6, the app presents with black bars at the top and bottom. My code was working correctly prior to iOS 9 / XCode 7 / OS X 10.11 / Swift 2.0.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Xcode 9 - git push over ssh not working
Selecting the ssk key from that small dialog doesn't work for whatever reason. Going to Preferences, Account, and then adding the ssh key to the github account resolved the issue and now I can push to and pull from github.
Replies
Boosts
Views
Activity
Jun ’18
Reply to "Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility56" or "Symbol not found: (_objc_claimAutoreleasedReturnValue)"
[quote='801822022, DTS Engineer, /thread/762854?answerId=801822022#801822022'] Cool, that’d be helpful. Can you upload your test project somewhere (like GitHub) and then post the link here? [/quote] Here is the GitHub repo
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to iOS 10 - [UIDeviceRGBColor countByEnumeratingWithState:objects:count:]: unrecognized selector
Meanwhile I have isolated the bug by removing almost all code from my project, with the bug still remaining. You can download it here:https://www.dropbox.com/s/b7jggae97889xka/Bugtest.zip?dl=0The xib references a lot of undefined classes (which I removed for clarity) but those are just warnings, not errors. The code compiles and runs just fine when compiled by XCode 7.x with the iOS 9 SDK.When compiled with the XCode 8 beta 6 and iOS 10 SDK, even when running on an iOS 9.x device, you get the exception. On a device you get a bunch of hex addresses, but on the simulator you get a nice calling tree showing clearly that the crash happens deep down inside initWithNibName:bundle:.If you enable the ugly hack in HackForUnrecognizedSelectorInIOS10.m by changing #if 0 to if 1, the code runs without problems with the 10.0 SDK. But obviously you can't really ship code like that.Can anyone reproduce this so I know it's not just something on my machin
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’16
Reply to Updating out dated apps. Please help!
Github?
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’20
Reply to How to display stereo images in Apple Vision Pro?
Use two Input nodes to programmatically pass in images, extract the color and opacity of the images separately, and use an unlit material with tone mapping disabled to achieve the exact colors. The full code and Xcode project can be found on GitHub https://github.com/Lightning-Lion/StereoImages.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to How to use vibe tools in Xcode
To setup Claude Opus 4 with Xcode 26’s Coding Assistant: Generate an API key at console.anthropic.com/settings/keys. In Xcode → Settings → Intelligence: Choose Add a Model Provider → Internet Hosted URL: https://api.anthropic.com/ API key header: x-api-key Paste your generated API key from step 1. (Requires an Apple silicon Mac with macOS 26.)
Replies
Boosts
Views
Activity
Jun ’25
Reply to Problems after updating to Xcode 13.3
UPDATE 1: In order for the mac to stop asking me to update the setting for iCloud services, I had to change the password of my Apple ID. I'll wait a bit before trying to update again on macOS 12.3. I have settings that skipped for example github and gitlab accounts with Xcode. There may be others, I'll have to check.
Replies
Boosts
Views
Activity
Mar ’22
Reply to In the past, it was possible to set the editor in such a way that ...for(i=0;i<n;++i){instruction1;...instruction k;} can be replaced by for(i=0;i<n;++i){...}. It was very convenient to compact the edition. However, such functionality doesn't seem to exis
>> I think the question is about code foldingIn that case, the answer is:Currently (in Xcode 9.x), you can't code-fold loops in Objective-C source files. You can only fold functions, methods and classes. (Nobody knows why — maybe this will come back in the future).In Swift, you can fold any scope defined by braces ({ … }), but the code folding ribbon is gone. You have to use the functions on the Editor -> Code Folding submenu, or their keyboard equivalents such as Command-Option-Left/Right Arrow.
Replies
Boosts
Views
Activity
Dec ’17
I have uploaded build through x code 11.1 but I don't seen that build version in test flight or activity section in iTunes connect.
I have uploaded build through x code 11.1 but I don't seen that build version in test flight or activity section in iTunes connect. I also tried build with increment build version still this problem is exist please help me thanks.
Replies
0
Boosts
0
Views
203
Activity
Jun ’20
Reply to SSL Error 1200 when using domain name, but IP works fine
Thanks Matt. I have a pared down sample project that demonstrates the condition. I am going to submit a TSI this morning. I will have a private repo on github containing the project. Can you give me a github username to invite for access to the repo?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to How can we create class diagram in Xcode 7 and above?
Found this ; they mention OmniGraffle, but it seems to have limitsanda freeware (github, so you could customize):h ttps://stackoverflow.com/questions/29186136/uml-class-diagrams-for-xcode-swift-programmingEditedI tested, it's very interesting ; clearly, the set up on the page could be improved (up to us to improve the freeware), but a very good starting point.
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Set 12 vs 24 hour with the new date formatting API in iOS 15
First, thanks for re-posting. Second, I’m going to drop a link to Unicode Technical Standard #35 Unicode Locale Data Markup Language (LDML) Part 4: Dates, just for the benefit of Future Quinn™. Third, I apologise in advance for harping on about the old API, but you’ll understand why in a second. You wrote: I could use formatter.setLocalizedDateFormatFromTemplate(isTwentyFourHourClock ? HHmm : hhmm) Unfortunately that doesn’t work, even for ‘simple’ cases like US English. Consider the code at the end of this post. Put that code into a test app and run it on an device. Now configure your device as follows: Set Settings > General > Language & Region > Region to United States. Set Settings > General > Date & Time > 24-Hour Time to On. Now run the code. It prints this: locale: en_US (current) format: X .standard X .preferred X .force12Hour X .force24Hour X AM: X 09:42 X 09:42 X 09:42 X
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22