Code Monkey home page Code Monkey logo

Comments (3)

triztian avatar triztian commented on September 24, 2024 1

@ulmentflam I was able to solve this issue by doing the following, instead of setting VALID_ARCHS in Xcode 12 we have a new setting: EXCLUDED_ARCHS which I set to i386 armv7 and changed my main project's Architecture setting to $(ARCHS_STANDARD) whereas before my Architecture setting was x86_64 $(ARCHS_STANDARD_64_BIT)

This is based on finding this in the Xcode 12 Release Notes:

Deprecations

  • The Build Settings editor no longer includes the Valid Architectures build setting (VALID_ARCHS), and its use is discouraged. Instead, there is a new Excluded Architectures build setting (EXCLUDED_ARCHS). If a project includes VALID_ARCHS, the setting is displayed in the User-Defined section of the Build Settings editor. (15145028)
  • The legacy build system is deprecated, and will be removed in a future release. (62742902)

I also added the following my pod file to remove a bunch of warnings:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
    end
  end
end

from pulley.

ulmentflam avatar ulmentflam commented on September 24, 2024

@triztian Did you do a pod install --repo-update?

from pulley.

triztian avatar triztian commented on September 24, 2024

@ulmentflam no but I just tried it, it installs successfully:

$ pod install --repo-update
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 23 dependencies from the Podfile and 43 total pods installed.

but same result when running for an iOS 14 Simulator target.

One thing to note though is that my project has the following setting:

VALID_ARCHS=$(ARCHS_STANDARD_64_BIT) # VALID_ARCHS = arm64 arm64e

Essentially any file that imports Pulley shows the following error:

Showing All Messages
CompileSwift normal arm64 MySourceFile.swift:11:8: error: no such module 'Pulley'
import Pulley
       ^

I've tried by also including x86_64 in the settings and same result.

from pulley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.