Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found : ..../libcarlite_iphonesimulator.a #124

Open
2 tasks
ntnbkta opened this issue May 18, 2023 · 1 comment
Open
2 tasks

File not found : ..../libcarlite_iphonesimulator.a #124

ntnbkta opened this issue May 18, 2023 · 1 comment

Comments

@ntnbkta
Copy link

ntnbkta commented May 18, 2023

Description:

My application consumes Fuzi as a cocoapod and is updated to the latest version 3.1.3. When compiled with Xcode 14.2, the build is green. But when compiled with Xcode 14.3 on an iPhone 14 Pro Simulator, we are seeing a build error.

  • Expected behaviour:
    Build error should not be seen and the compilation should be successful.

  • Actual behaviour:
    Build error is seen and the compilation fails.

Environment

  • Package Manager:

    • Carthage, version:
    • [ Y] CocoaPods, version: 1.12.1
    • Manually
  • Fuzi version: 3.1.3

  • Xcode version: 14.3

How to reproduce:

Consume Fuzi 3.1.3 as cocoapods in a Xcode project and try to build it.
Screenshot 2023-05-18 at 2 18 08 PM

@AlexeyMatrosov
Copy link

@ntnbkta I have same problem.
You can add next lines to your pod file:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
        if config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] == "8.0" or config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] == "9.0" or config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] == "10.0" then
                config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "11.0";
        end
    end
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants