Search results for

“xcode github”

97,544 results found

Post

Replies

Boosts

Views

Activity

Somebody ripped my GitHub project and put it online in the store. What should I do?
A little while ago I wrote a Swift TextClock app as an experiment to play with Swift. To let other benefit from my experiences, I've put up the code on GitHub. A also published the app for free in the AppStore.Today somebody notified me of the face that someone ripped my code and put it up in the AppStore. Unchanged.What do you guys suggest I do?
6
0
3.4k
Jul ’16
Reply to Remote server seeing iPadOS web app as iPadOS 10
For those that may see this in the future, I found a great open-source iOS lockdown browser SEB/Safe Exam Browser. I have used the macOS version of SEB in the past and this GitHub URL has the SEB unified macOS/iOS/iPadOS code. This has the ingredients of being a great working example to learn from. (https://github.com/SafeExamBrowser/seb-mac) Also for SEB I ended up utilizing the below agent string for the site I was locking down: Mozilla/5.0 (iPad; CPU OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/17.0 Mobile/11D257 Safari/9537.53
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’23
Reply to Building macOS with App Groups using external CI/CD
The exact problem rookuuu has happens when I attempt to build in my CI pipeline with the exact same provisioning profile and key. Specifically GitHub Actions + GitHub-Hosted Runners using GitHub instructions for installing profiles. Sounds like we're in the same boat. However, I think I've found the solution. When you run xcodebuild, if it picks up a provisioning profile with the extension .mobileprovision, even though the target is macOS it runs the provisioning profile validation steps as if it was iOS. Raising the iOS specific errors about App Groups. I followed the same document which similarly mislead me into changing the file extension away from .provisionprofile, simply renaming them back in the example workflow did the trick for me. Hopefully it does for you also. I've had the GitHub docs updated to include a note that reflects this, but this is probably also an Xcode bug that it's trusting the extension of the profile over the build target?
Jun ’23
Reply to Test target: Timed out waiting for simulator to boot
One of the root causes of the issue is missing files in runtime which were used in the build. Description: I ran into this issue when I was running the app via XCode on Mac but the code was accessing files from GitHub. Solution: I pulled the entire package on the local Mac repository and re-ran the app, It worked. Root Cause: As the execution engine was fetching the files from Github in real-time, perhaps that is why the simulator was timed out
Oct ’21
Reply to No Results Sidebar or Red Error Symbol
Create a new playground (menu New in Xcode) and give the name you want.you should see Hello world in the code part as well as on the right.now type below a statement, likelet x = 10print(I entered , x)you should see 10 on the right, in front of the lineand I entered 10 in the log part at bottom.Now, you’re up and running.good luck
May ’18
Reply to Xcode Cloud - could not resolve package dependencies
I was able to resolve this issue by navigating to the Xcode Cloud Settings in AppStoreConnect and manually re-granting permission for the repo connected through Github. You can do this through Xcode by going to Product -> Xcode Cloud -> -> Manage Repositories. Make sure that you are also signed into the account you originally setup Xcode Could with. There should be a button next to the repositories connected that says grant . Clicking this should hopefully resolve your issue.
Jun ’22
productbuild hangs with no output in github actions
I am running into this error with productbuild in github actions where the program hangs with a specific developer id. I have verified that my certification files are properly uploaded etc. and i am able to run this without the --sign command online and with --sign offline. if i sign with a 3rd party mac developer installer: *** it will run but then crash on stapling because this isn't the actual org i want to staple and don't really need to verify that i could staple with this other license since it is my personal license and i will be leaving this job soon so setting up all my other certs is a waste of time since it doesn't solve the problem. When i use my bosses/org Developer ID Installer: *** productbuild just hangs. I am at a loss here... the acutal command running is productbuild --resources ./resources --distribution distribution.xml --sign ${{ secrets.DEVELOPER_ID_INSTALLER }} --timestamp ${{ env.ARTIFACT_NAME }}.pkg I have confirmed that my distribution file is fine etc. because I can produc
3
0
285
May ’25
Reply to Xcode 16 and iOS 18 project not compiling
I'm encountering an issue while trying to build my iOS app in Xcode for the simulator. Issue: Xcode Version: 15.x macOS Version: 14.x (Sonoma) Simulator: iPhone 16 Pro Error Message: Command ClangStatCache failed with a nonzero exit code Steps Taken: Cleaned build folder (Shift + Cmd + K) Deleted DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData) Updated Xcode and checked iOS SDK updates Disabled Clang Static Analyzer Cache None of these steps resolved the issue. Any help would be appreciated! Thanks in advance.
Mar ’25
Reply to Source Control Account Unavailable
I had the same thing today. Suddenly, randomly, after working for years, I got asked for my github password when trying to 'Push' to the github remote - even though I use SSH rather than passwords.And when I went to preferences/accounts, my github one was grayed out, and gave the same 'Account Unavailable message as you received.I fixed it by completely reinstalling XCode - following these steps I found on the Internet:Delete /Applications/XcodeDelete all files containing com.apple.dt in ~/Library/CachesDelete all files containing com.apple.dt in ~/Library/PreferencesOpen App Store.app, download and re-install Xcode.Create the Apple ID developer accountThat worked fine for me - though other people have reported varying results.I did try just deleing the caches and preferences first, before uninstalling/reinstalling XCode - but that didn't do the trick. I had to do the full re-install thing before it would work.
May ’19
Somebody ripped my GitHub project and put it online in the store. What should I do?
A little while ago I wrote a Swift TextClock app as an experiment to play with Swift. To let other benefit from my experiences, I've put up the code on GitHub. A also published the app for free in the AppStore.Today somebody notified me of the face that someone ripped my code and put it up in the AppStore. Unchanged.What do you guys suggest I do?
Replies
6
Boosts
0
Views
3.4k
Activity
Jul ’16
Reply to Remote server seeing iPadOS web app as iPadOS 10
For those that may see this in the future, I found a great open-source iOS lockdown browser SEB/Safe Exam Browser. I have used the macOS version of SEB in the past and this GitHub URL has the SEB unified macOS/iOS/iPadOS code. This has the ingredients of being a great working example to learn from. (https://github.com/SafeExamBrowser/seb-mac) Also for SEB I ended up utilizing the below agent string for the site I was locking down: Mozilla/5.0 (iPad; CPU OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/17.0 Mobile/11D257 Safari/9537.53
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Building macOS with App Groups using external CI/CD
The exact problem rookuuu has happens when I attempt to build in my CI pipeline with the exact same provisioning profile and key. Specifically GitHub Actions + GitHub-Hosted Runners using GitHub instructions for installing profiles. Sounds like we're in the same boat. However, I think I've found the solution. When you run xcodebuild, if it picks up a provisioning profile with the extension .mobileprovision, even though the target is macOS it runs the provisioning profile validation steps as if it was iOS. Raising the iOS specific errors about App Groups. I followed the same document which similarly mislead me into changing the file extension away from .provisionprofile, simply renaming them back in the example workflow did the trick for me. Hopefully it does for you also. I've had the GitHub docs updated to include a note that reflects this, but this is probably also an Xcode bug that it's trusting the extension of the profile over the build target?
Replies
Boosts
Views
Activity
Jun ’23
Reply to Test target: Timed out waiting for simulator to boot
One of the root causes of the issue is missing files in runtime which were used in the build. Description: I ran into this issue when I was running the app via XCode on Mac but the code was accessing files from GitHub. Solution: I pulled the entire package on the local Mac repository and re-ran the app, It worked. Root Cause: As the execution engine was fetching the files from Github in real-time, perhaps that is why the simulator was timed out
Replies
Boosts
Views
Activity
Oct ’21
Reply to No Results Sidebar or Red Error Symbol
Create a new playground (menu New in Xcode) and give the name you want.you should see Hello world in the code part as well as on the right.now type below a statement, likelet x = 10print(I entered , x)you should see 10 on the right, in front of the lineand I entered 10 in the log part at bottom.Now, you’re up and running.good luck
Replies
Boosts
Views
Activity
May ’18
Reply to Xcode 26.0 Share Extension crashes with NSInternalInconsistencyException on iOS 26.0
After further investigation, this problem appears to be happening in iOS26.0 and fixed in the next version iOS26.1 as seen in github ShareExtensions using SLComposeServiceViewController built with Xcode 26.1 would keep crashing on iOS26.0 ShareExtensions using SLComposeServiceViewController build with Xcode 26.0 seems to work on iOS26.1
Replies
Boosts
Views
Activity
Nov ’25
Reply to Xcode Cloud - could not resolve package dependencies
I was able to resolve this issue by navigating to the Xcode Cloud Settings in AppStoreConnect and manually re-granting permission for the repo connected through Github. You can do this through Xcode by going to Product -> Xcode Cloud -> -> Manage Repositories. Make sure that you are also signed into the account you originally setup Xcode Could with. There should be a button next to the repositories connected that says grant . Clicking this should hopefully resolve your issue.
Replies
Boosts
Views
Activity
Jun ’22
Reply to ITMS-90725: SDK version issue (iOS 17 SDK)
Yes, I managed to resolve it too by updating the runner image. Was using macos-latest as well. However, I did not specify the version code to 15.2 in Fastlane, what I did was use https://github.com/marketplace/actions/setup-xcode-version to select the Xcode version in GitHub Actions.
Replies
Boosts
Views
Activity
Mar ’24
Reply to Constant "Your session has expired" (error 1100)
For us we were running a CI job on a self-hosted github runner and encountered this error, signing in to xcode on the runner resolved this issue for us. Interestingly it wasn't necessary for macOS builds, only iOS.
Replies
Boosts
Views
Activity
Oct ’24
Should swift compiler bugs now be posted as github issues or Radars?
I have a reduced case for an automatic initialiser inheritence compiler bug, but I'm flummoxed as to where I should be posting it, as a Github issue or as a Radar/bug report?
Replies
5
Boosts
0
Views
967
Activity
Dec ’15
Reply to Mistake in Apple's Crustacean.playground?
I was taking a look at the Crustacean.playground today in Xcode 9, and it needed some updates for Swift 4.0.I've uploaded my changes to github for anyone who needs them:https://github.com/Krishna/Crustacean---Protocol-Oriented-Programming-in-Swift
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Xcode 13.2 and Github - No Packages listed
Same experience. Github account in place in preferences. When add packages invoked Apple Swift Packages shows up under collections and GitHub shows up under Source Control Accounts. Swift Packages are visible but nothing when GitHub clicked and nothing when known GitHub package is searched for.
Replies
Boosts
Views
Activity
Dec ’21
productbuild hangs with no output in github actions
I am running into this error with productbuild in github actions where the program hangs with a specific developer id. I have verified that my certification files are properly uploaded etc. and i am able to run this without the --sign command online and with --sign offline. if i sign with a 3rd party mac developer installer: *** it will run but then crash on stapling because this isn't the actual org i want to staple and don't really need to verify that i could staple with this other license since it is my personal license and i will be leaving this job soon so setting up all my other certs is a waste of time since it doesn't solve the problem. When i use my bosses/org Developer ID Installer: *** productbuild just hangs. I am at a loss here... the acutal command running is productbuild --resources ./resources --distribution distribution.xml --sign ${{ secrets.DEVELOPER_ID_INSTALLER }} --timestamp ${{ env.ARTIFACT_NAME }}.pkg I have confirmed that my distribution file is fine etc. because I can produc
Replies
3
Boosts
0
Views
285
Activity
May ’25
Reply to Xcode 16 and iOS 18 project not compiling
I'm encountering an issue while trying to build my iOS app in Xcode for the simulator. Issue: Xcode Version: 15.x macOS Version: 14.x (Sonoma) Simulator: iPhone 16 Pro Error Message: Command ClangStatCache failed with a nonzero exit code Steps Taken: Cleaned build folder (Shift + Cmd + K) Deleted DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData) Updated Xcode and checked iOS SDK updates Disabled Clang Static Analyzer Cache None of these steps resolved the issue. Any help would be appreciated! Thanks in advance.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Source Control Account Unavailable
I had the same thing today. Suddenly, randomly, after working for years, I got asked for my github password when trying to 'Push' to the github remote - even though I use SSH rather than passwords.And when I went to preferences/accounts, my github one was grayed out, and gave the same 'Account Unavailable message as you received.I fixed it by completely reinstalling XCode - following these steps I found on the Internet:Delete /Applications/XcodeDelete all files containing com.apple.dt in ~/Library/CachesDelete all files containing com.apple.dt in ~/Library/PreferencesOpen App Store.app, download and re-install Xcode.Create the Apple ID developer accountThat worked fine for me - though other people have reported varying results.I did try just deleing the caches and preferences first, before uninstalling/reinstalling XCode - but that didn't do the trick. I had to do the full re-install thing before it would work.
Replies
Boosts
Views
Activity
May ’19