-
Notifications
You must be signed in to change notification settings - Fork 222
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
have the same architectures (arm64) and can't be in the same fat output file(Xcode12下编译静态库,包无法合并fat output file) #259
Comments
Add line "arm64" (without quotes) to path: Xcode -> Project -> Build settings -> Architectures -> Excluded architectures |
I tried, but I couldn't solve the problem |
The problem is still there. Can anyone help? |
I found the following solutions,write content in podsepc file: |
It works, but it's just weird.Also, user_target_xcconfig is not recommended by the official. |
My error:
This solution doesn't work for me:
My podspec:
Anyone have an idea how to fix this issue? update: if I add --exclude-deps flag, it works, but my framework doesn't include dependencies. |
I solved this problem by modifying the local cocoapods-packager source ruby code.
I had inserted the build setting after line32:
I hope that will help you guys. |
Thanks a lot, It works for me. |
I have add this, but it still cannot run. |
sudo vim /Library/Ruby/Gems/2.6.0/gems/cocoapods-packager-1.5.0/lib/cocoapods-packager/pod_utils.rb config.build_settings['CLANG_MODULES_AUTOLINK'] = 'NO' |
sudo vi /Library/Ruby/Gems/2.6.0/gems/cocoapods-packager-1.5.0/lib/cocoapods-packager/builder.rb
Best regards. |
Having the same issue but i386 :( Error: The modified BitcoinKit.podspec File: Changed:
Xcode 13.2 Thanks for Help |
Error Info:have the same architectures (arm64) and can't be in the same fat output file
Xcode Version:12.0.1
cocoapods version: 1.9.3
cocoapods-packager version: 1.5.0
通过pod packager打包静态库,出现模拟器和真机同时包含arm64架构,无法合并为fat file
The text was updated successfully, but these errors were encountered: