LoginSignup
1
1

More than 3 years have passed since last update.

Xcode12 beta で Carthageビルド失敗の対策

Posted at

対策内容まとめ

xcconfigファイルを作成

vim cathage-helper.xcconfig
xcconfig
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8
EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))

環境変数を設定

export XCODE_XCCONFIG_FILE=/Users/ichinosehiroto/Documents/dev/kidsline/kidsline_ios/carthage-helper.xcconfig 

ビルドする

carthage update --platform iOS --no-use-binaries --cache-builds

参考元Github

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1