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

error: module 'Firebase' was created for incompatible target arm64-apple-ios8.0 #6551

Closed
psaezcube opened this issue Sep 23, 2020 · 4 comments

Comments

@psaezcube
Copy link

psaezcube commented Sep 23, 2020

  • Xcode version: 12
  • Firebase SDK version: Last
  • Firebase Component: Core, Messaging, InAppMessaging
  • Component version: Last
  • Installation method: CocoaPods 1.9.3

Steps to reproduce:

When I try to generate an .app bundle (representing a iOS Simulator build of your app) for uploading to Appetize ( https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io ), using Xcode, it works perfectly if i press the Build & Run button and open the app in a Simulator, but when I try to generate it with command line xcodebuild command I'm getting this crash:

error: module 'Firebase' was created for incompatible target arm64-apple-ios8.0 (the same for the other modules)

This is the command for getting the crash:

xcodebuild -sdk iphonesimulator -workspace Project.xcworkspace -scheme Appetize -configuration Debug

This worked perfectly before updating to XCode 12 and cocoapods 1.9.3, when I was using XCode 11.X and cocoapods 1.9.1

PD: I tryed with the "warning workaround" (described here: CocoaPods/CocoaPods#9884 (comment) )but the problem is exactly the same but writting arm64-apple-ios9.0 instead of arm64-apple-ios8.0

@morganchen12
Copy link
Contributor

Are you able to install the resulting app bundle in the iOS Simulator?

@paulb777
Copy link
Member

Based on https://stackoverflow.com/questions/64036180/error-module-was-created-for-incompatible-target-arm64-apple-ios8-0, this might not have anything to do with Firebase. Perhaps, it should be reported to Appetize? Or perhaps an additional xcodebuild option is required related to the additional arm64 simulator target supported by Xcode 12?

@psaezcube
Copy link
Author

psaezcube commented Sep 24, 2020

perhaps an additional xcodebuild option is required related to the additional arm64 simulator target supported by Xcode 12?

Hi, thanks.

Do you have more info about that additional arm64 simulator target supported by Xcode 12? can't find it

@psaezcube
Copy link
Author

psaezcube commented Sep 24, 2020

Solved using this: https://stackoverflow.com/a/64048460/479886

@firebase firebase locked and limited conversation to collaborators Oct 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants