We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
step1: /Library/Ruby/Gems/2.6.0/gems/cocoapods-packager-1.5.0/lib/cocoapods-packager/pod_utils.rb add 「config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'」
step2: pod package myLab.podspec --force
then failed
fatal error: module map file '/var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/build/Release-iphonesimulator/myLab/myLab.modulemap' not found 1 error generated. WriteAuxiliaryFile /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/build/Pods.build/Release-iphonesimulator/Pods-packager.build/Objects-normal/i386/Pods-packager.LinkFileList (in target 'Pods-packager' from project 'Pods') cd /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/Pods write-file /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/build/Pods.build/Release-iphonesimulator/Pods-packager.build/Objects-normal/i386/Pods-packager.LinkFileList ** BUILD FAILED ** The following build commands failed: CompileC /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/build/Pods.build/Release-iphonesimulator/Pods-packager.build/Objects-normal/x86_64/Pods-packager-dummy.o /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/Pods/Target\ Support\ Files/Pods-packager/Pods-packager-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/build/Pods.build/Release-iphonesimulator/Pods-packager.build/Objects-normal/i386/Pods-packager-dummy.o /var/folders/01/72b5d0zs111gn00lqd084hmh0000gn/T/cocoapods-qdgxrbb3/Pods/Target\ Support\ Files/Pods-packager/Pods-packager-dummy.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures)
podspec
Pod::Spec.new do |s| s.name = 'myLab' s.version = '1.0.0' s.summary = 'A short description of myLab.' s.swift_version = '5.0' s.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } s.platform = :ios, "8.0" # This description is used to generate tags and improve search results. # * Think: What does it do? Why did you write it? What is the focus? # * Try to keep it short, snappy and to the point. # * Write the description between the DESC delimiters below. # * Finally, don't worry about the indent, CocoaPods strips it! s.description = <<-DESC TODO: Add long description of the pod here. DESC s.homepage = 'https://github.com/[email protected]/myLab' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { '[email protected]' => '[email protected]' } s.source = { :git => 'https://github.com/zhoulijun12315/myLab.git', :tag => s.version.to_s } # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' s.ios.deployment_target = '8.0' s.source_files = 'myLab/Classes/**/*' # s.resource_bundles = { # 'myLab' => ['myLab/Assets/*.png'] # } # s.public_header_files = 'Pod/Classes/**/*.h' # s.frameworks = 'UIKit', 'MapKit' # s.dependency 'AFNetworking', '~> 2.3' end
The text was updated successfully, but these errors were encountered:
the same problem, any idea?
Sorry, something went wrong.
No branches or pull requests
step1: /Library/Ruby/Gems/2.6.0/gems/cocoapods-packager-1.5.0/lib/cocoapods-packager/pod_utils.rb
add 「config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'」
step2: pod package myLab.podspec --force
then failed
podspec
The text was updated successfully, but these errors were encountered: