At the moment, this package does not support arm64 based simulators "out of the box".
Steps to reproduce:
Clone this repo
Open the 'Example' project
Select simulator as the target (iPhone 14 for example)
The following error occurs:
ld: in /Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame(VbrTag.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame' for architecture arm64
This can be fixed by setting Build Active Architecture Only to No and setting Excluded Architectures -> Any iOS Simulator SDK to arm64 in both the Example and Pods projects
However, this is not a viable solution as the Apple Silicon Macs run simulators as arm64 by default. Using the fix above in my own project causes other errors for example.
At the moment, this package does not support arm64 based simulators "out of the box".
Steps to reproduce:
The following error occurs:
ld: in /Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame(VbrTag.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/mikko/Dev/lame/Example/Pods/lame/lame.framework/lame' for architecture arm64
This can be fixed by setting
Build Active Architecture Only
toNo
and settingExcluded Architectures -> Any iOS Simulator SDK
toarm64
in both theExample
andPods
projectsHowever, this is not a viable solution as the Apple Silicon Macs run simulators as arm64 by default. Using the fix above in my own project causes other errors for example.