Forge Component
Published on 10 Jul by Hugo 
4 votes
Published on 10 Jul by Hugo 

Hi ,

Our app is using TwilioVideoMobile Forge component.

We are facing in build iOS app and generating the ipa file.

Can we get some help here asap.

The iOSBuildLog show as below:

Resolving deltas:  97% (152/156)     

Resolving deltas:  98% (153/156)     

Resolving deltas: 100% (156/156)     

Resolving deltas: 100% (156/156), 

completed with 85 local objects.
     54b6e95fb56..b3bb9f6452e  master     -> origin/master


The following build commands failed:
CompileC /Users/mabs01/Library/Developer/Xcode/DerivedData/InsApp-hjkagnsoggjpnmgbjijelgrhjjfb/Build/Intermediates.noindex/ArchiveIntermediates/InsApp/IntermediateBuildFilesPath/ InsApp/Plugins/ normal armv7 objective-c
(1 failure)

[2019-01-29T06:42:18.165Z] [ERROR] Build failed with the following error: Error compiling Cordova plugin: InsApp/Plugins/
[2019-01-29T06:42:18.165Z] [INFO] Zipping application source...
[2019-01-29T06:43:12.141Z] [INFO] Application was not successfully generated!
[2019-01-29T06:43:12.154Z] [INFO] Execution time: 216243ms



That's a funny issue, the build is breaking due to a foobar line on the plugin code. error: no visible @interface for 'TwilioVideoViewController' declares the selector 'writeJavascript:' [self writeJavascript:@"alert('foo');"];

Fix this and the app will build without issues.



Thank you, Nuno Silva. You saved our day.