# Problems trying to run gocoder SDK sample with swift

**URL:** <https://community.wowza.com/t/problems-trying-to-run-gocoder-sdk-sample-with-swift/50305>\
**Category:** Wowza GoCoder SDK\
**Created:** [December 6, 2017, 12:26am UTC](https://community.wowza.com/t/problems-trying-to-run-gocoder-sdk-sample-with-swift/50305 "2017-12-06T00:26:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abraham\_Nefi\_Rangel](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@Abraham\_Nefi\_Rangel](https://community.wowza.com/u/Abraham_Nefi_Rangel)\
**Post date:** [December 6, 2017, 12:26am UTC](https://community.wowza.com/t/problems-trying-to-run-gocoder-sdk-sample-with-swift/50305/1 "2017-12-06T00:26:06Z")

</div>

Hello im trying to run gocoder sdk sample with swift.

Im using Xcode 9.2 and also an iPhone 6s with iOS 11.1.2

First i replace WowzaGoCoderSDK.framework with the SDK binaries files that come inside of gocoder-sdk-ios-build-0735-v1.0.5 zip file.

I assing the licence key mailed to me, to variable SDKSampleAppLicenseKey in class VideoViewController, if im wrong please tell me.

I have some issues compiling. First of all i had this warning.

I used ‘Fix’ to avoid this issue in the switch case and added this in the end of switch:

case .ready:  
print(ready)  
}

and build is successful but if i try to run on my iPhone this is what i get:

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [January 2, 2018, 7:52am UTC](https://community.wowza.com/t/problems-trying-to-run-gocoder-sdk-sample-with-swift/50305/2 "2018-01-02T07:52:21Z")

</div>

It looks like the library was not correctly installed. Please try running the sample app provided in the zip file with the SDK. This already includes a reference to the library. You should only need to replace the license key and change the bundle ID to match what you have received when you registered.

Michelle
