cocoapods-packager
cocoapods-packager copied to clipboard
Packaging fails with XCode11 beta 7
Using the following command:
pod package ../MyLib.podspec --force --no-mangle --exclude-deps --subspecs=Core --spec-sources='https://git.repo.com/local-cocoapods.git','https://github.com/CocoaPods/Specs.git' --verbose
On Mojave (10.14.6) with :
XCode11 beta7 (Build 11M392r)
Attempted with both CocoaPods 1.7.5 and 1.8.0 beta.2
I get the following error:
sh: line 1: 46561 Illegal instruction: 4 xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_MyLib=PodsDummy_PodPackage_MyLib' CONFIGURATION_BUILD_DIR=build clean build -configuration Relea
Build command failed: xcodebuild GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_MyLib=PodsDummy_PodPackage_MyLib' CONFIGURATION_BUILD_DIR=build clean build -configuration Release -target Pods-pa
Output:
Build settings from command line:
CONFIGURATION_BUILD_DIR = build
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) PodsDummy_Pods_MyLib=PodsDummy_PodPackage_MyLib
2019-09-09 09:05:19.666 xcodebuild[46561:835863] +dataWithFirstBytes:1024 ofFile:"/var/folders/tf/yz1zzdfn20n9w4lzxpjyryx19vvw7z/T/cocoapods-12t5vzg2/Pods/ComScore/.pod" failed, errno = 2
note: Using new build system
** CLEAN SUCCEEDED **
Packaging works fine when using XCode10.3, 10.2, etc. I can successfully Lint using Xcode 11 beta and Xcode 10.x. I have tried this on two different machines with the same result.
At this point I'm not sure what else I can do and am inclined to think there is something with the packager.
thx.
Same issue using Xcode 11.0, cocoapods 1.8.4, macOS 10.15. the Xcode 11.0 just crashed, Xcode 10 works fine.😰
I have same issue using Xcode 11.0.
Same issue with Xcode 11.4
Same issue with Xcode11 and Xcode12,any idea to deal with this problem?
@theMike @0x5e @artud2000 @isfang have u all solve it? thx for your quick reply :)