aoberoi / hello-opentokjs-cordova

An example application which shows the use of the `cordova-plugin-opentokjs` plugin for Cordova.
4 stars 8 forks source link

ios compile error #2

Open JohnCarrie opened 8 years ago

JohnCarrie commented 8 years ago

Hi, i have compiled your project as your installation step on my mac os. My mac os version is 10.9.5. But it failed with this following error.

\ BUILD FAILED **

The following build commands failed: CompileSwift normal i386 /Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/HelloOpenTokJS/Plugins/cordova-plugin-iosrtc/iosrtcPlugin.swift CompileSwift normal i386 /Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/HelloOpenTokJS/Plugins/cordova-plugin-iosrtc/PluginRTCTypes.swift CompileSwift normal i386 /Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/HelloOpenTokJS/Plugins/cordova-plugin-iosrtc/PluginRTCPeerConnection.swift CompileSwift normal i386 /Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/HelloOpenTokJS/Plugins/cordova-plugin-iosrtc/PluginRTCPeerConnectionConfig.swift CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler (5 failures) Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/cordova/build-debug.xcconfig,-project,HelloOpenTokJS.xcodeproj,ARCHS=i386,-target,HelloOpenTokJS,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/eman-mac/Project/hello-opentokjs-cordova-master/platforms/ios/build/sharedpch

how can i fix it? Thanks.

volkangurol commented 8 years ago

@JohnCarrie hi i get the same error did you solve it ?

smuaq commented 8 years ago

Follow these steps: https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/docs/Building.md