Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
433 views
in Technique[技术] by (71.8m points)

xcode - App running on device but not on simulator

So, my application is running perfectly on device(iPhone XR) but it is throwing error when I am trying to run it on simulator.

Error: No such module 'SwiftyStoreKit'

It is basically not detecting "Pod" I have tried many steps

  1. Updating Pod
  2. Unchecking the "Find Implicit Dependencies" for Build under "Edit Schemes"
  3. Followed this link as well https://developer.apple.com/forums/thread/12032

My Xcode version is 12.2 Recently, I updated my Mac OS after which I started facing this problem. Earlier, everything was working well.

Appreciate your help.

Podfile

#Uncomment the next line to define a global platform for your project
#platform :ios, '10.0'

#Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

target 'Vivaji' do

pod 'Alamofire'
pod 'ObjectMapper'
pod 'IQKeyboardManagerSwift'
pod 'SWRevealViewController', '~> 2.3',:modular_headers => true
pod 'moa', '~> 12.0'
pod 'SideMenu', '~> 6.0'
pod 'AlamofireImage'
pod 'SwiftyStoreKit'
    
target 'VivajiTests' do
 inherit! :search_paths
 # Pods for testing
end

target 'VivajiUITests' do
 inherit! :search_paths
 # Pods for testing
end

post_install do |installer|
 installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
        config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
        config.build_settings['ARCHS'] = 'arm64'
    end
 end
 installer.pods_project.build_configurations.each do |config|
  config.build_settings.delete('CODE_SIGNING_ALLOWED')
  config.build_settings.delete('CODE_SIGNING_REQUIRED')
  end
 end
end
question from:https://stackoverflow.com/questions/65835699/app-running-on-device-but-not-on-simulator

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...