AgoraIO / agora-react-native-rtm

React Native around the Agora RTM SDKs for Android and iOS agora
https://www.agora.io/en/
MIT License
63 stars 36 forks source link

iOS build error on M1: Requested but did not find extension point #70

Open gen1lee opened 2 years ago

gen1lee commented 2 years ago

I got iOS build error on M1 processor after adding this package.

2022-06-13 19:22:45.815 xcodebuild[35335:5833960] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-06-13 19:22:45.815 xcodebuild[35335:5833960] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

While if I build with Xcode under Rosetta, it succeeds.

Xcode 13.4.1

gen1lee commented 2 years ago

When downgraded Xcode to 13.2.1 it started showing another issue:

ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/main/Projects/work/PerksApp/ios/Pods/AgoraRtm_iOS/AgoraRtmKit.framework/AgoraRtmKit' for architecture arm64

Godzilla912 commented 2 years ago

same problem. help us. i got this error after update mac os mac os big sur to monterey. and i downgrade xcode. still i'm getting this problem i can't compile my flutter project.

2022-06-16 14:01:53.653 xcodebuild[65879:340761] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-06-16 14:01:53.653 xcodebuild[65879:340761] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

fonzzzzzii commented 2 years ago

I'm facing the same issue.

capacitor run ios --no-sync --target 00008110-000E78E00C01801E [capacitor] ✖ Running xcodebuild - failed! [capacitor] [error] 2022-06-20 14:48:32.660 xcodebuild[2428:21062] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

gen1lee commented 2 years ago

@Godzilla912 this issue is for agora-react-native-rtm package, not flutter.

LichKing-2234 commented 2 years ago

our RTM SDK not support xcframework now, pls refer to https://github.com/AgoraIO-Community/react-native-agora/issues/433

DevTiqo commented 2 years ago

For me, I just uninstalled flutter on my mac and installed the latest version and the error dissppeared