Created
May 27, 2023 17:47
-
-
Save Garabed96/238d1f9744f0cb528d7a3184963a7455 to your computer and use it in GitHub Desktop.
TerminalError
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx expo run:ios | |
› Planning build | |
› Executing react-native Pods/FBReactNativeSpec » [CP-User] Generate Specs | |
❌ (node_modules/expo-modules-core/ios/Swift/DynamicTypes/DynamicEnumType.swift:7:22) | |
5 | */ | |
6 | internal struct DynamicEnumType: AnyDynamicType { | |
> 7 | let innerType: any Enumerable.Type | |
| ^ protocol 'Enumerable' can only be used as a generic constraint because it has Self or associated type requirements | |
8 | | |
9 | func wraps<InnerType>(_ type: InnerType.Type) -> Bool { | |
10 | return innerType == InnerType.self | |
❌ (node_modules/expo-modules-core/ios/Swift/DynamicTypes/DynamicType.swift:21:36) | |
19 | return DynamicConvertibleType(innerType: ConvertibleType) | |
20 | } | |
> 21 | if let EnumType = T.self as? any Enumerable.Type { | |
| ^ protocol 'Enumerable' can only be used as a generic constraint because it has Self or associated type requirements | |
22 | return DynamicEnumType(innerType: EnumType) | |
23 | } | |
24 | if let SharedObjectType = T.self as? SharedObject.Type { | |
❌ (node_modules/expo-modules-core/ios/Swift/Objects/PropertyComponent.swift:142:9) | |
140 | } | |
141 | guard let getter = self.getter else { | |
> 142 | return | |
| ^ non-void function should return a value | |
143 | } | |
144 | return try getter.call(by: this, withArguments: args) | |
145 | } | |
❌ (node_modules/expo-modules-core/ios/Swift/Objects/PropertyComponent.swift:157:9) | |
155 | } | |
156 | guard let setter = self.setter else { | |
> 157 | return | |
| ^ non-void function should return a value | |
158 | } | |
159 | return try setter.call(by: this, withArguments: args) | |
160 | } | |
› Compiling react-native Pods/React-RCTLinking » RCTLinkingPlugins.mm | |
› Compiling react-native Pods/React-RCTLinking » React-RCTLinking-dummy.m | |
› Compiling react-native Pods/React-RCTLinking » RCTLinkingManager.mm | |
› Compiling react-native Pods/React-RCTVibration » RCTVibration.mm | |
› Compiling react-native Pods/React-RCTVibration » RCTVibrationPlugins.mm | |
› Compiling react-native Pods/React-RCTSettings » RCTSettingsPlugins.mm | |
› Compiling react-native Pods/React-RCTSettings » RCTSettingsManager.mm | |
› Compiling react-native Pods/React-RCTNetwork » RCTNetworking.mm | |
› Compiling react-native Pods/React-RCTNetwork » RCTNetworkTask.mm | |
› Compiling react-native Pods/React-RCTNetwork » RCTNetworkPlugins.mm | |
› 4 error(s), and 0 warning(s) | |
CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment