Garren Fitzenreiter
Garren Fitzenreiter

Reputation: 839

App builds on physical device, but not emulator (No such module)

My project will build on a physical device but not on an emulator. Building on an emulator says there's no such module. I've installed all necessary pods, but can't access them when trying to build on emulator. Intellisense will not pick it up.

enter image description here

Although, I have most definitely installed and updated the pod multiple times and even tried to use an outdated version with no luck

enter image description here

I've tried to delete and deintegrate pods, delete DerivedData, delete .xcworkspace file, clean build folder. I can't seem to get it to build on emulator because there is 'No such module'.

iOS deployment target is 13.2, while the emulator is running the latest version (14.2)

Update: This seems to happen with any pod I install... Stripe, GoogleMaps, etc..

Downloading and importing the Firebase framework directly into the project by dragging and dropping the required folders seems to get rid of the Firebase errors, but still the other modules do not work: Stripe, GoogleMaps, etc..

Upvotes: 7

Views: 966

Answers (1)

Garren Fitzenreiter
Garren Fitzenreiter

Reputation: 839

After hours of searching, I've discovered that Build Active Architecture Only in the build settings was set to Yes by default. Simply setting it to No allowed it to build.

Upvotes: 4

Related Questions