skip to Main Content

I have a project that was working perfectly, but after updating XCode to 14.3, I can’t generate the build anymore.

In fact, now it gives the error "No such module Result".

I’ve already performed several activities such as updating Xcode, cleaning the build folder, applying pod deintegrate, updating cocoapods and I don’t get results.

enter image description here

Importantly, as of Xcode 14.3 beta there is no longer a Rosetta architecture option, so I believe it is something related to the Apple Silicon architecture.

2

Answers


  1. Try to upgrade the pod to

    pod 'Result', '~> 5.0.0'
    

    or try to add this ad the end of podfile and make a clean + pod install + build

    post_install do |installer|
        installer.generated_projects.each do |project|
              project.targets.each do |target|
                  target.build_configurations.each do |config|
                      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
                   end
              end
       end
    end
    

    or try to switch to xcode 13 compatible project document

    enter image description here

    Login or Signup to reply.
  2. on my case i just added this line

    config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
    

    to Podfile

    post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
               end
          end
       end
    end
    

    and its working both xcode 14.3.1 and 14.2,

    Good luck!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search