Closed2
React Native + Expoにtargetを追加するとeas buildできなくなる
expo-dev-clientのdevelopment環境と、production環境のbundleIdentiferが同一なため、targetを追加したところ、buildできなくなった。
/ios を削除し、expo prebuild -p ios
を行い/ios再生成すると、buildができるようになるため、targetの追加による何らかのエラー?
1
[!] Can't merge user_target_xcconfig for pod targets: ["Reanimated", "hermes-engine"]. Singular build setting CLANG_CXX_LIBRARY has different values.
pod install
時にはWarningは発生しないのだが、eas buildを実行した場合、上記のエラーが出る。
2
[RUN_FASTLANE] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[RUN_FASTLANE] { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-001A70A826A3401E }
[RUN_FASTLANE] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:F1FA07FC-1144-40A6-A998-2B7F950080C2, OS:16.1, name:iPhone 8 }
[RUN_FASTLANE] { platform:iOS Simulator, id:0FF1AEA4-B6D2-47F5-8882-CE6932DC6A41, OS:16.1, name:iPhone 14 }
[RUN_FASTLANE] { platform:iOS Simulator, id:50CCC037-E642-4C57-A5C0-185C06C9CD2B, OS:16.1, name:iPhone 14 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:A749FF67-288B-4074-9971-D11921912525, OS:16.1, name:iPhone 14 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:02424145-4F34-4F09-84B5-3CC13E23C639, OS:16.1, name:iPhone 14 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:1FA29EB2-2C35-4CB7-BE15-5B6641D9ADB1, OS:16.1, name:iPhone SE (3rd generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:B5DB219B-14C8-469E-B027-3E667F77CCD8, OS:16.1, name:iPad (10th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8A94EFB2-54C4-4032-B334-F9C936E2B98B, OS:16.1, name:iPad Air (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:D63EAC4E-8AC0-47B6-A7C0-0F7615E7987D, OS:16.1, name:iPad Pro (11-inch) (4th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:4BBECA6D-D6ED-4C17-9B43-72369862A77B, OS:16.1, name:iPad Pro (12.9-inch) (6th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:C4FED270-5E2D-4435-9723-D94ABEB16C72, OS:16.1, name:iPad mini (6th generation) }
[RUN_FASTLANE] Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[RUN_FASTLANE] 2023-02-16 12:55:23.260 xcodebuild[91147:647573] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
[RUN_FASTLANE] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[RUN_FASTLANE] { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008112-001A70A826A3401E }
[RUN_FASTLANE] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[RUN_FASTLANE] { platform:iOS Simulator, id:F1FA07FC-1144-40A6-A998-2B7F950080C2, OS:16.1, name:iPhone 8 }
[RUN_FASTLANE] { platform:iOS Simulator, id:0FF1AEA4-B6D2-47F5-8882-CE6932DC6A41, OS:16.1, name:iPhone 14 }
[RUN_FASTLANE] { platform:iOS Simulator, id:50CCC037-E642-4C57-A5C0-185C06C9CD2B, OS:16.1, name:iPhone 14 Plus }
[RUN_FASTLANE] { platform:iOS Simulator, id:A749FF67-288B-4074-9971-D11921912525, OS:16.1, name:iPhone 14 Pro }
[RUN_FASTLANE] { platform:iOS Simulator, id:02424145-4F34-4F09-84B5-3CC13E23C639, OS:16.1, name:iPhone 14 Pro Max }
[RUN_FASTLANE] { platform:iOS Simulator, id:1FA29EB2-2C35-4CB7-BE15-5B6641D9ADB1, OS:16.1, name:iPhone SE (3rd generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:B5DB219B-14C8-469E-B027-3E667F77CCD8, OS:16.1, name:iPad (10th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:8A94EFB2-54C4-4032-B334-F9C936E2B98B, OS:16.1, name:iPad Air (5th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:D63EAC4E-8AC0-47B6-A7C0-0F7615E7987D, OS:16.1, name:iPad Pro (11-inch) (4th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:4BBECA6D-D6ED-4C17-9B43-72369862A77B, OS:16.1, name:iPad Pro (12.9-inch) (6th generation) }
[RUN_FASTLANE] { platform:iOS Simulator, id:C4FED270-5E2D-4435-9723-D94ABEB16C72, OS:16.1, name:iPad mini (6th generation) }
[RUN_FASTLANE] 2023-02-16 12:55:26.290 xcodebuild[91151:647707] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
ビルドできた
チェックした3つを残しておく
1
ExpoModulesProviderが/letters
(target名)に2つ重複して存在していたため、両方のtargetにチェックされていた方を消した
2
ここを消した
3
ここを適切に設定した
このスクラップは2023/02/26にクローズされました