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

When archiving app for App Store, got error "/Frameworks/Realm.framework: unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1" #1641

Closed
cityinthepark opened this issue Nov 16, 2017 · 0 comments

Comments

@cityinthepark
Copy link

cityinthepark commented Nov 16, 2017

Goals

Submit my iOS app to App Store

Expected Results

Archiving the app, upload to App Store. (Realm was ok when developing the app. It runs with no issue at all. The app runs on both simulator and real device perfectly.)

Actual Results

At Archiving stage, start to have issue about Realm. Get "/Frameworks/Realm.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1"

Steps to Reproduce

Nothing special. My app was building totally fine, no issues. Then cleaned and tried to Archive it. Started to report same thing over and over for Realm.framework: unknown error -1

I've tried many times to uninstall and reinstall Realm on Cocoapod, by both way:

Code Sample

pod 'Realm', :git => 'https://github.com/realm/realm-cocoa.git', :branch => 'master', submodules: true
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa.git', :branch => 'master', submodules: true
(This way gives me Realm 3.0.2 and RealmSwift 3.0.2)

and:
pod 'Realm'
pod 'RealmSwift'
(This way gives me Realm 2.9.1 and RealmSwift 2.9.1)

I also tried the way to download latest Realm package and drag and drop the frameworks from latest version, which is Realm 3.0.2. Also copied the Run Script:

bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh"

I tried both Swift-4.0 and Swift-4.0.2 version, none worked.

Now still have the same error, and I don't know where to go. Please help me with this issue, as my app is ready to submit for the store. I hope to make it before Christmas.

Thanks a lot!!
Joyce

BTW, I'm using latest Xcode 9.1.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant