-
Notifications
You must be signed in to change notification settings - Fork 473
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
XCode 7 invalid framework packaging #214
Comments
hi,if xcode6 have used universal framework, and update to xcode7. firstly do not reinstall universal framework. you can run auto_xcode_edit/main.py to resolve your problem. please link to https://github.com/bjtufang/run-universal-framework-in-xcode7 |
Solved my issue by overriding build settings constants: |
@look1n: Could you please a bit more specific, where you changed these settings? |
You should set user-defined variables in your project target build settings. |
@look1n : Thank you very much. Made my day :) |
I've faced an issue after updating my XCode to version 7. Generated framework has flat structure without Current/A subfolders, script lines that generates symbolic links failed with "No such file or directory" messages. How can I solve this problem? Attaching error log below. Thanks.
File "/Users/User/Xcode/DerivedData/general-hfruqhxpfbpvyyaxsnswjqazacxd/Build/Intermediates/sdk.build/Debug-iphoneos/SDK.build/Script-5C7F07D71A2636850090AA35.sh", line 817, in
run_build()
File "/Users/User/Xcode/DerivedData/general-hfruqhxpfbpvyyaxsnswjqazacxd/Build/Intermediates/sdk.build/Debug-iphoneos/SDK.build/Script-5C7F07D71A2636850090AA35.sh", line 792, in run_build
add_symlinks_to_framework(project)
File "/Users/User/Xcode/DerivedData/general-hfruqhxpfbpvyyaxsnswjqazacxd/Build/Intermediates/sdk.build/Debug-iphoneos/SDK.build/Script-5C7F07D71A2636850090AA35.sh", line 680, in add_symlinks_to_framework
attempt_symlink(os.path.join(base_dir, "Versions", "Current"), os.environ['FRAMEWORK_VERSION'])
File "/Users/User/Xcode/DerivedData/general-hfruqhxpfbpvyyaxsnswjqazacxd/Build/Intermediates/sdk.build/Debug-iphoneos/SDK.build/Script-5C7F07D71A2636850090AA35.sh", line 493, in attempt_symlink
os.stat(os.path.abspath(os.path.join(link_path, "..", link_to)))
OSError: [Errno 2] No such file or directory: '/Users/User/Xcode/DerivedData/general-hfruqhxpfbpvyyaxsnswjqazacxd/Build/Products/Debug-iphoneos/SDK.framework/Versions/A'
Command /bin/sh failed with exit code 1
The text was updated successfully, but these errors were encountered: