Skip to content

Commit

Permalink
Fix opentok#196: Refactor iOS SDK installation do use CocoaPods.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioMelo8 committed Apr 8, 2021
1 parent 8f84eca commit 33340c0
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,38 +40,22 @@

<!-- ios -->
<platform name="ios">
<hook type="before_plugin_install" src="scripts/downloadiOSSDK.js" />
<asset src="www/opentok.js" target="opentok.js" />

<header-file src="src/ios/UIView+Category.h" />
<source-file src="src/ios/UIView+Category.m" />
<header-file src="src/ios/OpenTokPlugin.h" />
<source-file src="src/ios/OpenTokPlugin.m" />

<framework src="libstdc++.dylib" />
<framework src="libc++.dylib" />
<framework src="libxml2.dylib" />
<framework src="libsqlite3.dylib" />
<framework src="libpthread.dylib" />
<framework src="VideoToolbox.framework" />
<framework src="src/ios/OpenTok.framework" custom="true" />
<framework src="AudioToolbox.framework" />
<framework src="CoreData.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreMedia.framework" />
<framework src="CoreVideo.framework" />
<framework src="OpenGLES.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreTelephony.framework" />
<framework src="GLKit.framework" />
<framework src="EventKit.framework" />
<framework src="QuartzCore.framework" />
<framework src="MapKit.framework" />
<framework src="UIKit.framework" />
<framework src="Foundation.framework" />
<framework src="Security.framework" />
<framework src="CFNetwork.framework" />
<!-- Opentok native iOS SDK -->
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="OpenTok" spec="2.19.0" />
</pods>
</podspec>

<!-- Add support for background audio to the plist -->
<!-- https://tokbox.com/developer/sdks/ios/background-state.html -->
Expand Down

0 comments on commit 33340c0

Please sign in to comment.