Skip to main content
added 7 characters in body
Source Link

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Build SettingsImage of PodsPods' Build Settings

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Build Settings of Pods

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Image of Pods' Build Settings

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

added 4 characters in body
Source Link

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Pods ConfigurationBuild Settings of Pods

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Pods Configuration

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Build Settings of Pods

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

deleted 12 characters in body
Source Link

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Pods Configuration

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Pods Configuration

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Although the question is long time ago, "no such module" error made me in Xcode 13 struggle for 3 days. I found many different solutions here, but still cannot fix it. Until I tried applying different solutions together and found my own solution.

My issue is that I can build the app on device, but shows "no such module" when building it on simulator. It seems there is something wrong while building pods.

Therefore, I added use_frameworks! & use_modular_headers! in Podfile.

target 'Application' do

use_frameworks!
use_modular_headers!        

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon', :branch => 'swift5'
pod "BSImagePicker", "~> 3.1"
pod 'FirebaseCoreInternal'

I also changed the Build Setting of the Pods to exclude building pods in architecture of arm64. I did the same in my Project and Target's Build Settings.

Pods Configuration

Please note that if you install new pod to the project, the Build Settings of Pods will be reset. You need to mannaully change back to exclude arm64.

Source Link
Loading