Parse-SDK-iOS-OSX icon indicating copy to clipboard operation
Parse-SDK-iOS-OSX copied to clipboard

Compiling iOS SDK manually fails (lipo error)

Open JohnRoxMySox23 opened this issue 3 years ago • 1 comments

New Issue Checklist

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.

JohnRoxMySox23 avatar Apr 12 '22 18:04 JohnRoxMySox23

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.

mtrezza avatar Jan 29 '23 12:01 mtrezza