TimOrtel/GRPC-Kotlin-Multiplatform

Build failed on M1 Mac

Closed this issue · 1 comments

The following build commands failed:
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSError+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSError+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSDictionary+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSDictionary+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCWrappedCall.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCWrappedCall.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/NSData+GRPC.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/NSData+GRPC.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCSecureChannelFactory.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCSecureChannelFactory.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
CompileC /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/build/Pods.build/Release-iphoneos/gRPC.build/Objects-normal/arm64/GRPCRequestHeaders.o /GRPC-Kotlin-Multiplatform/grpc-multiplatform-lib/build/cocoapods/synthetic/IOS/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCCore/GRPCRequestHeaders.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'gRPC' from project 'Pods')
(6 failures)


2: Task failed with an exception.

  • What went wrong:
    java.lang.StackOverflowError (no error message)

Caused by: java.lang.IllegalStateException: Executing of 'xcodebuild -project Pods.xcodeproj -scheme gRPC-ProtoRPC -sdk iphoneos -configuration Release' failed with code 65 and message:

Closing this for now. Please reopen if the problem persists. However, the library is now published on mavencentral, so you might not need to checkout the project anymore locally.