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

Unable to archive with arm64 #96

Open
fuggly opened this issue Jun 5, 2014 · 1 comment
Open

Unable to archive with arm64 #96

fuggly opened this issue Jun 5, 2014 · 1 comment

Comments

@fuggly
Copy link

fuggly commented Jun 5, 2014

Hiyas

I have a main project "X" with two iOS Universal Frameworks "RMTXKit" and "RMUIKit" (which uses RMTXKit). Now, I set this all up to use all standard architectures, set "Build only valid architectures" to "NO" and I can compile and build the project fine. it works perfectly and the lib is fun to use.
However.. if I archive the whole thing, it doesn't work anymore. The build process ends with this here:

** BUILD SUCCEEDED **

Create universal static library
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/AdHoc Testflight/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/AdHoc Testflight/BuildProductsPath/AdHoc Testflight-iphonesimulator/RMTXKit.framework/Versions/A/RMTXKit -o /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/AdHoc Testflight/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit.temp
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: for architecture arm64 object: /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/AdHoc Testflight/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit(DBCredentials.o) malformed object (unknown load command 1)
Showing first 200 notices only
Command /bin/sh failed with exit code 1

I have no idea what this is or where this comes from. Its only when archiving, that this happens, when I normal build, it works. Does anyone know what I can do here?

Thanks

@fuggly
Copy link
Author

fuggly commented Jun 5, 2014

And... if I try to just archive the very first framework that is used, RMTXKit, then I get this:

** BUILD SUCCEEDED **

Create universal static library
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/RMTXKit/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/RMTXKit/BuildProductsPath/AdHoc Testflight-iphonesimulator/RMTXKit.framework/Versions/A/RMTXKit -o /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/RMTXKit/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit.temp
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: for architecture arm64 object: /Users/misteli/Library/Developer/Xcode/DerivedData/Gugus/Intermediates/ArchiveIntermediates/RMTXKit/BuildProductsPath/AdHoc Testflight-iphoneos/RMTXKit.framework/Versions/A/RMTXKit(DBCredentials.o) malformed object (unknown load command 1)
Showing first 200 notices only
Command /bin/sh failed with exit code 1

Just building the framwork works fine, but archiving fails. Does anyone know what this is?

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

No branches or pull requests

1 participant