Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Manuel_R_1
Beginner
49 Views

iOS Plugin is not building

Hi, I created a plugin using the Cordova documentation. When I use it on Android it works correctly, but when I want to build my iOS app, it sent me an error code 65 for command: xcodebuild with args: -xcconfig,.../PluginTest/platforms/ios/cordova/build-release.xcconfig,-project,outputtest.xcodeproj,ARCHS=armv7 arm64,-target,outputtest,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=.../PluginTest/platforms/ios/build/device,SHARED_PRECOMPS_DIR=.../PluginTest/platforms/ios/build/sharedpch.

How can I solve this issue?

The complete build log is attached.

Tags (2)
0 Kudos
1 Reply
Rakshith_K_Intel
Employee
49 Views

From the log it looks like u have many errors:

.../PluginTest/platforms/ios/outputtest/Plugins/com.manuel.decibelrecorder/DecibelRecorder.h:6:21: error: expected ';' after method prototype
-(void)StopRecording(CDVInvokedUrlCommand*)command;

It is missing the ":", try changing like this:

-(void)StopRecording: (CDVInvokedUrlCommand*)command;
Reply