Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configs and constants for Xcode 16 #987

Merged
merged 4 commits into from
Oct 27, 2024
Merged

Conversation

amorde
Copy link
Member

@amorde amorde commented Oct 26, 2024

No description provided.

@amorde amorde merged commit fac6ccc into master Oct 27, 2024
4 checks passed
@amorde amorde deleted the amorde/xcode16-configs branch October 27, 2024 00:05
@ynyyn
Copy link

ynyyn commented Oct 28, 2024

For people who occur "deny(1) file-write-create" error: This update (Xcodeproj 1.26) may potentially break the earlier version of CocoaPods custom shell script [CP] Embed Pods Frameworks, if xcodeproj's version was not locked properly, due to introducing ENABLE_USER_SCRIPT_SANDBOXING = YES.

If you are installing earlier CocoaPods version afterwards, consider locking xcodeproj version prior to 1.26 (a possible way is via Gemfile, as suggested in CocoaPods/CocoaPods#12664 (comment)). Technically, Xcodeproj 1.26 was prepared for a newer CocoaPods version and not backward compatible. So if an old CocoaPods depends upon it, may break. The newer CocoaPods adapted to the new xcodeproj 1.26 was done in CocoaPods/CocoaPods#12656 and released as CocoaPods 1.16.

(How it went wrong? : Before this update, project created by Xcodeproj<1.26 (employed by CocoaPods) would not set this flag explicitly, so at that time, project would only break when somehow Xcode defaults come in (e.g. new project created by Xcode). (Some people have noticed this issue and tried to add some verbose assertions in the [CP] shell script to help people manually recover, see CocoaPods/CocoaPods#12235.) Now, with this update, even the earlier version of CocoaPods can also depend on Xcodeproj>=1.26 (if you install old version of CocoaPods afterwards, without version locks), which makes the old CocoaPods behave differently, as it would set this flag when creates new project, and that results to failure.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants