Software Archive
Read-only legacy content
17061 Discussions

iOS Plugin is not building

Manuel_R_1
Beginner
250 Views

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.

0 Kudos
1 Reply
Rakshith_K_Intel
Employee
250 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;
0 Kudos
Reply