Parse-SDK-iOS-OSX
Parse-SDK-iOS-OSX copied to clipboard
Compiling iOS SDK manually fails (lipo error)
New Issue Checklist
- [X] I am not disclosing a vulnerability.
- [X] I am not just asking a question.
- [X] I have searched through existing issues.
- [X] I can reproduce the issue with the latest versions of Parse Server and the Parse ObjC SDK.
Issue Description
I tried to compile Parse iOS SDK for myself, as described in the README.
The last command (bundle exec rake package:frameworks) gives this error:
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/me/Documents/Sandbox/Parse-SDK-iOS-OSX/build/Release-ios-iphoneos/Parse.framework/Parse and /Users/me/Documents/Sandbox/Parse-SDK-iOS-OSX/build/Release-ios-iphonesimulator/Parse.framework/Parse have the same architectures (arm64) and can't be in the same fat output file Failed to lipo iOS framework.
Steps to reproduce
Run the 4 successive commands:
git submodule update --init --recursive gem install bundler bundle install bundle exec rake package:frameworks
Actual Outcome
The aforementioned error. Only Parse-macOS.zip is available in build/release.
Expected Outcome
The available Parse-iOS.zip file in build/release.
Environment
Client
- Parse ObjC SDK version: 1.19.3
Server Not relevant
Database Not relevant
Thank you for your help.
Thanks for opening this issue!
- 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
Closing as release 2.0.0 supports import via Swift Package Manager.