Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Reply to NSDockTilePlugin tutorial....
After further Googling I found a github repo that contained a DockTilePlugin Sample that was 7 years old. I have updated the sample so that it builds and runs with XCode 11 and enhanced it slightly to suit my needs, as I wanted to be able to dynamically update the App's DockTile menu when the app isn't running.I hope others find this update sample useful.The updated project, with the original author's ReadMe.rtf can be found on GitHub here -https://github.com/CartBlanche/MacDockTileSampleIf someone with more Objective C experience can look over the code and tell me if there are better ways of doing things, I'll update the code, or send me a PR.
Topic: UI Frameworks SubTopic: AppKit Tags:
Dec ’19
Reply to Developing for iOS on multiple machines
Quoting the Support/Code-Signing page:Frequently Asked QuestionsHow do I transfer my code signing certificates and provisioning profiles to another Mac? Review the instructions in Export signing certificates and provisioning profiles.For keeping the projects in sync, look into using 'source control', built into Xcode - see Xcode Help, and:h ttps://medium.com/swlh/how-to-use-github-with-xcode11-8a93b64ff1bc
Jun ’20
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 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 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 NSDockTilePlugin tutorial....
After further Googling I found a github repo that contained a DockTilePlugin Sample that was 7 years old. I have updated the sample so that it builds and runs with XCode 11 and enhanced it slightly to suit my needs, as I wanted to be able to dynamically update the App's DockTile menu when the app isn't running.I hope others find this update sample useful.The updated project, with the original author's ReadMe.rtf can be found on GitHub here -https://github.com/CartBlanche/MacDockTileSampleIf someone with more Objective C experience can look over the code and tell me if there are better ways of doing things, I'll update the code, or send me a PR.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Dec ’19
Reply to xCode Version 15.0 - Simulator Screen Shots for 5.5 inch iPhone
For X-Code 15: X Code => Settings => Platforms Tap the + in the lower left. Choose iOS 15 and install. From there, launch the 8Plus (or desired simulator) under the iOS 15 > option.
Replies
Boosts
Views
Activity
Mar ’24
Reply to Developing for iOS on multiple machines
Quoting the Support/Code-Signing page:Frequently Asked QuestionsHow do I transfer my code signing certificates and provisioning profiles to another Mac? Review the instructions in Export signing certificates and provisioning profiles.For keeping the projects in sync, look into using 'source control', built into Xcode - see Xcode Help, and:h ttps://medium.com/swlh/how-to-use-github-with-xcode11-8a93b64ff1bc
Replies
Boosts
Views
Activity
Jun ’20
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 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 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 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 Xcode unsupported iOS version after beta update 14.5 error 18e5140k
Is there anyone who can run iOS 14.7 on Xcode to check an app made with unity? On the GitHub url shared with a user above, there's no file for iOS 14.7. Because Apple asks me to run an app with a ios14.7 device before app publishment, would somebody gives me how to address this problem??
Replies
Boosts
Views
Activity
Jul ’21
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 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 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
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