Search results for

“xcode github”

95,390 results found

Post

Replies

Boosts

Views

Activity

Reply to About Xcode and GitHub
Go into more detail on how you prepared Xcode for GitHub. What you normally do to put an Xcode project on GitHub is to create a git repository for your project by choosing Source Control > New Git Repository and creating an external branch for GitHub from Xcode's source control navigator, which you can access by pressing Cmd-2. When you put your project on GitHub like I described in the previous paragraph, you don't have to clone the project on GitHub. It sounds like you have two versions of your project locally: the one you originally created and the one you cloned from GitHub. You have two options: Work with the project you cloned from GitHub and stop using the one you originally created. Place your original project on GitHub and stop using the cloned version. The following article shows how to put a local Xcode project on GitHub: swiftdevjournal.com/putting-your-xcode-project-on-
Feb ’25
How to code an alert in OS X (10.12.1) and Xcode 8.1 using Swift 3?
I'm running OS X (10.12.1), Xcode 8.1 and Swift 3 on my MacBook Pro (all are updated automatically). For a MacOS application (not iOS), I want to show an alert when an invalid user entry is input. I've researched a zillion examples and tried many of them, but none work. And, a good number of them send my Playground into a loop (dreaded color wheel) from which I have to reboot (the latest of these is attached).My question is: What is the proper Swift 3 code to create an alert in the environment and the conditions described above occur?
2
0
613
Dec ’16
Xcode Cloud can't access SPM dependencies in GitHub private repo?
Can Xcode Cloud resolve dependencies that are in private GitHub repos? Project is in GitHub Enterprise Cloud. Our GitHub is not self hosted. I am an organization owner in GitHub. Project is private. Project is using swift packages for dependencies. Some dependencies are public repos. Some dependencies are private repos inside the same GitHub organization. I have given permission to the Xcode Cloud GitHub app to access all the repos of the organization. This means the Xcode Cloud GitHub app is listed in GitHub settings of the project, and the Github settings of every dependency. When I build with Xcode Cloud, during the xcodebuild -resolvePackageDependencies... step, it gives these errors. I've blanked out my repo and project name. Command line invocation: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace /Volumes/workspace/reposit
4
0
3.1k
Sep ’22
XCode 12 - Can't login to Github without Access Token???
Hey, so I wanted to pull from the Github project repository and XCode asked me login again. Forgot my password so I tried a wrong one and now it keeps asking for my Username and Access token, when I actually just want to login with my password. Doesn't let me choose between the too, not even when adding the account through preferences. Anyone know how to just login with password and the reason for this -pardon me- absolutely idiotic choice of not letting the user choose?
9
0
22k
Sep ’20
How can I troubleshoot access to GitHub?
I am trying to configure my access to GitHub and no matter what I do I get the Authentication failed message. I have tried everything I know to try. I have even disabled two-factor authentication and just tried using a username and password which I know is correct. I simply want to make it work so that I can set a bot with OS X Server.Is there a guide somewhere which helps with troubleshooting access problems with Xcode repository configurations and GitHub. It appears to be completely non-functional.
2
0
663
Oct ’15
Xcode 14.3.x and Xcode 15 - slather code coverage folder missing
Hi everyone Premise: it works with Xcode 14.2 I have a problem with fastlane and slather, it gives me an error that it cannot find the code coverage folder Here are some details Fastlane file slather( build_directory: ./DerivedData, scheme: MyApp, workspace: MyApp.xcworkspace, proj: ./MyApp.xcodeproj, output_directory: ./DerivedData/testResult, cobertura_xml: true, verbose: true ) Error: Exit status of command 'slather coverage --cobertura-xml --build-directory ./DerivedData --output-directory ./DerivedData/test-output/slatherOutput --ignore Pods/* --ignore fastlane/* --ignore build/* --ignore DerivedData/* --verbose --scheme ProjectName --workspace ProjectName.xcworkspace ./ProjectName.xcodeproj' was 1 instead of 0. Slathering... /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:239:in `profdata_coverage_dir': No coverage directory found. (StandardError) from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:517:in `find_binary_files' from /usr/local/lib
3
0
3.2k
Oct ’23
X Code 9.3 multiple problems
Hi allHaving had several issues with earlier versions (mainly - simulator trying to launch for about 5 minutes before failing, xcode suddenly quitting once or twice an hour, playgrounds taking 5 minutes to launch plus many others) I hoped that 9.3 would be better. Ha! Now it is far worseWhen I select storyboard it locks upWhen trying to quit it locks up.Simulator doesn't launch at all With these problems the program is totally unuseable.I have been learning to program for the last 8 months but a HUGE amount of my time has been wasted battling this program. I have tried all the suggested fixes, sent in a bug report, but all to no avail.From what I have read there are a number of people like me that have continual problems, but I know people who have no or very few problems. This is especially noticeable when I watch u-tubes of others using X code and how nicely it seems to work for them. This would seem to indicate a problem with my computer. It is a 2 year old iMac, 8 GB memory. I h
4
0
1.2k
Apr ’18
Xcode 14.1 Missing path after GitHub pull
Hey guys, I have a strange problem. I am getting this error: Missing path (/Users/username/Documents/Development/Brief/Brief/Mapbox/MapboxCoreMaps.xcframework/ios-arm64_x86_64-simulator/dSYMs) from XCFramework 'MapboxCoreMaps.xcframework' as defined by 'DebugSymbolsPath' in its `Info.plist` file The interesting thing the same project pulled on other Macs works perfectly fine. Just my home MacBook Pro has this problem. The project itself is on Github. I checked the folders and they do exists. Have no idea what it wrong.
0
0
1.4k
Nov ’22
Shared code for iOS and OS X
Hello guys, so I wanted to create one file with one class and share the code in both iOS and OS X app. The code (Swift):#if !TARGET_OS_IPHONE import Cocoa public typealias Controller1 = NSViewController #else import UIKit public typealias Controller1 = UIViewController #endifAnd when I try to build it I get No such module Cocoa and it's true, iOS have no Cocoa module. Is there any way to create a platform-depended class?
1
0
872
Nov ’15
Reply to About Xcode and GitHub
Go into more detail on how you prepared Xcode for GitHub. What you normally do to put an Xcode project on GitHub is to create a git repository for your project by choosing Source Control > New Git Repository and creating an external branch for GitHub from Xcode's source control navigator, which you can access by pressing Cmd-2. When you put your project on GitHub like I described in the previous paragraph, you don't have to clone the project on GitHub. It sounds like you have two versions of your project locally: the one you originally created and the one you cloned from GitHub. You have two options: Work with the project you cloned from GitHub and stop using the one you originally created. Place your original project on GitHub and stop using the cloned version. The following article shows how to put a local Xcode project on GitHub: swiftdevjournal.com/putting-your-xcode-project-on-
Replies
Boosts
Views
Activity
Feb ’25
How to code an alert in OS X (10.12.1) and Xcode 8.1 using Swift 3?
I'm running OS X (10.12.1), Xcode 8.1 and Swift 3 on my MacBook Pro (all are updated automatically). For a MacOS application (not iOS), I want to show an alert when an invalid user entry is input. I've researched a zillion examples and tried many of them, but none work. And, a good number of them send my Playground into a loop (dreaded color wheel) from which I have to reboot (the latest of these is attached).My question is: What is the proper Swift 3 code to create an alert in the environment and the conditions described above occur?
Replies
2
Boosts
0
Views
613
Activity
Dec ’16
Xcode Cloud can't access SPM dependencies in GitHub private repo?
Can Xcode Cloud resolve dependencies that are in private GitHub repos? Project is in GitHub Enterprise Cloud. Our GitHub is not self hosted. I am an organization owner in GitHub. Project is private. Project is using swift packages for dependencies. Some dependencies are public repos. Some dependencies are private repos inside the same GitHub organization. I have given permission to the Xcode Cloud GitHub app to access all the repos of the organization. This means the Xcode Cloud GitHub app is listed in GitHub settings of the project, and the Github settings of every dependency. When I build with Xcode Cloud, during the xcodebuild -resolvePackageDependencies... step, it gives these errors. I've blanked out my repo and project name. Command line invocation: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace /Volumes/workspace/reposit
Replies
4
Boosts
0
Views
3.1k
Activity
Sep ’22
iOS10 simulator on X-Code 6.4
How can I test an app developed in X-Code 6.4 on the iOS10 simulator?
Replies
1
Boosts
0
Views
728
Activity
Sep ’16
Prior versions of X code for Catalina ?
Where can I find pro versions of X code that I can run on my Catalina MacBook Pro?
Replies
1
Boosts
0
Views
491
Activity
Feb ’22
Reply to Xcode cloud workflow
You can follow this useful guide on connecting Xcode Cloud to your Github account, here: https://developer.apple.com/documentation/xcode/connecting-xcode-cloud-to-github
Replies
Boosts
Views
Activity
Jun ’22
X-code simulator not working
i update my mac to beta version and i'm facing issue in X-code simulator. its taking 5 minutes to set up , and lagging issue .
Replies
1
Boosts
0
Views
310
Activity
Oct ’23
.DS_Store and git / github
When you are checking in an Xcode-based project into git (pushed up to github), shouldyou check in the .DS_Store files that appear? Or do these get re-generatedautomatically by OSX if they are not there (say, when you git clone a project?)
Replies
2
Boosts
0
Views
4.8k
Activity
Jan ’16
XCode 12 - Can't login to Github without Access Token???
Hey, so I wanted to pull from the Github project repository and XCode asked me login again. Forgot my password so I tried a wrong one and now it keeps asking for my Username and Access token, when I actually just want to login with my password. Doesn't let me choose between the too, not even when adding the account through preferences. Anyone know how to just login with password and the reason for this -pardon me- absolutely idiotic choice of not letting the user choose?
Replies
9
Boosts
0
Views
22k
Activity
Sep ’20
How can I troubleshoot access to GitHub?
I am trying to configure my access to GitHub and no matter what I do I get the Authentication failed message. I have tried everything I know to try. I have even disabled two-factor authentication and just tried using a username and password which I know is correct. I simply want to make it work so that I can set a bot with OS X Server.Is there a guide somewhere which helps with troubleshooting access problems with Xcode repository configurations and GitHub. It appears to be completely non-functional.
Replies
2
Boosts
0
Views
663
Activity
Oct ’15
Xcode 14.3.x and Xcode 15 - slather code coverage folder missing
Hi everyone Premise: it works with Xcode 14.2 I have a problem with fastlane and slather, it gives me an error that it cannot find the code coverage folder Here are some details Fastlane file slather( build_directory: ./DerivedData, scheme: MyApp, workspace: MyApp.xcworkspace, proj: ./MyApp.xcodeproj, output_directory: ./DerivedData/testResult, cobertura_xml: true, verbose: true ) Error: Exit status of command 'slather coverage --cobertura-xml --build-directory ./DerivedData --output-directory ./DerivedData/test-output/slatherOutput --ignore Pods/* --ignore fastlane/* --ignore build/* --ignore DerivedData/* --verbose --scheme ProjectName --workspace ProjectName.xcworkspace ./ProjectName.xcodeproj' was 1 instead of 0. Slathering... /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:239:in `profdata_coverage_dir': No coverage directory found. (StandardError) from /usr/local/lib/ruby/gems/3.0.0/gems/slather-2.7.4/lib/slather/project.rb:517:in `find_binary_files' from /usr/local/lib
Replies
3
Boosts
0
Views
3.2k
Activity
Oct ’23
X Code 9.3 multiple problems
Hi allHaving had several issues with earlier versions (mainly - simulator trying to launch for about 5 minutes before failing, xcode suddenly quitting once or twice an hour, playgrounds taking 5 minutes to launch plus many others) I hoped that 9.3 would be better. Ha! Now it is far worseWhen I select storyboard it locks upWhen trying to quit it locks up.Simulator doesn't launch at all With these problems the program is totally unuseable.I have been learning to program for the last 8 months but a HUGE amount of my time has been wasted battling this program. I have tried all the suggested fixes, sent in a bug report, but all to no avail.From what I have read there are a number of people like me that have continual problems, but I know people who have no or very few problems. This is especially noticeable when I watch u-tubes of others using X code and how nicely it seems to work for them. This would seem to indicate a problem with my computer. It is a 2 year old iMac, 8 GB memory. I h
Replies
4
Boosts
0
Views
1.2k
Activity
Apr ’18
Use GitHub accounts, one at a time
Can I create a GitHub account in Xcode and then delete it in Xcode and then create another different GitHub account in Xcode? Then delete that account and then recreate the original Github account again. Using GitHub accounts one-at-a-time. Is it possible, or not?
Replies
0
Boosts
0
Views
467
Activity
Mar ’21
Xcode 14.1 Missing path after GitHub pull
Hey guys, I have a strange problem. I am getting this error: Missing path (/Users/username/Documents/Development/Brief/Brief/Mapbox/MapboxCoreMaps.xcframework/ios-arm64_x86_64-simulator/dSYMs) from XCFramework 'MapboxCoreMaps.xcframework' as defined by 'DebugSymbolsPath' in its `Info.plist` file The interesting thing the same project pulled on other Macs works perfectly fine. Just my home MacBook Pro has this problem. The project itself is on Github. I checked the folders and they do exists. Have no idea what it wrong.
Replies
0
Boosts
0
Views
1.4k
Activity
Nov ’22
Shared code for iOS and OS X
Hello guys, so I wanted to create one file with one class and share the code in both iOS and OS X app. The code (Swift):#if !TARGET_OS_IPHONE import Cocoa public typealias Controller1 = NSViewController #else import UIKit public typealias Controller1 = UIViewController #endifAnd when I try to build it I get No such module Cocoa and it's true, iOS have no Cocoa module. Is there any way to create a platform-depended class?
Replies
1
Boosts
0
Views
872
Activity
Nov ’15