googleads-ima-ios icon indicating copy to clipboard operation
googleads-ima-ios copied to clipboard

IMA sdk doesn't compile on MacBook Pro with M1 chip

Open madmet opened this issue 3 years ago • 2 comments

After adding pod reference to my podfile as following pod 'GoogleAds-IMA-iOS-SDK' and launching a pod install command, my app doesn't compile anymore on my MacBook Pro M1 using any iOS Simulator target facing the following compile time error:

Could not find module 'AnyModuleName' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/.../.../Debug-iphonesimulator/AnyModuleName.swiftmodule

Same project with the same podfile works without any problems on an Intel MacBook Pro (2,6 GHz 6-Core Intel Core i7).

madmet avatar Oct 20 '21 19:10 madmet

They haven't updated this to build an .xcframework yet. A lot of the google sdks don't. @google-admin can you give an ETA on when you intend to support this? While you're at it could you also support SPM? This is literally a 1-2 day job.

kemalenver avatar Nov 11 '21 01:11 kemalenver

The same issue here. @google-admin can you give us an ETA when you plan to support M1 and when will it support SPM?

ghost avatar Feb 18 '22 09:02 ghost

Is this fixed now? in what version?

dominictobias avatar Jun 13 '24 08:06 dominictobias

@madmet I was unable to replicate this issue. Here is what I did.

  • ran pod install on Swift/BasicExample
  • Opened the workspace
  • Ran the project

Please let me know if you have alternative steps.

NVentimiglia avatar Jun 26 '24 19:06 NVentimiglia

The IMA SDK for iOS has been packaged as an SDK since version v3.16.3. Without confirmed reproducibility on a recent version I'm closing this as resolved for now

gschoppe avatar Jun 26 '24 20:06 gschoppe