WowzaMediaSystems / gocoder-sdk-samples-ios

Sample apps for iOS that demonstrate the capabilities of the Wowza GoCoder™ SDK.
https://www.wowza.com/products/gocoder/sdk
Other
37 stars 14 forks source link

Unkown type name 'WZBroadcastScaleMode' #2

Closed symonty closed 8 years ago

symonty commented 8 years ago

Probably due to incorrect libraries included in the GIT?

@property (nonatomic, assign) WZBroadcastScaleMode broadcastScaleMode;

Line 69 SettingsViewModel.h

bcyng commented 8 years ago

i also get the same error

lisa-wong commented 8 years ago

Hello symonty and bcyng, This issue sounds like you do not have either a trial or production GoCoder SDK license. These sample apps require a license to compile and run. Do you already have a license? If not, you can request a license from sdkteam@wowza.com.

bcyng commented 8 years ago

yes have a trial license. this is a compile error not a license error...

the full error is below:

'../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h:10:9: note: in file included from .../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h:10:
#import "SettingsViewModel.h"
        ^
.../gocoder-sdk-samples-ios-master/shared/SettingsViewModel.h:69:31: error: unknown type name 'WZBroadcastScaleMode'
@property (nonatomic, assign) WZBroadcastScaleMode broadcastScaleMode;
                              ^
<unknown>:0: error: failed to import bridging header '.../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h'
symonty commented 8 years ago

Yeah it is not a license issue looks like a feature declared not in the framework . WZBroadcastScaleMode is a new feature is it possibly not in the compiled framework , that is an older version?

Symonty info: http://symonty.org/sig/ +1-615-796-6689 [+1-N1L-SYMONTY]

On Jun 6, 2016, at 17:55, bcyng notifications@github.com wrote:

yes have a trial license. have entered the license key in the following line: static NSString *const SDKSampleAppLicenseKey = in VideoPlayerViewController.m this is a compile error not a license error...

the full error is below: .../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h:10:9: note: in file included from .../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h:10:

import "SettingsViewModel.h"

^ .../gocoder-sdk-samples-ios-master/shared/SettingsViewModel.h:69:31: error: unknown type name 'WZBroadcastScaleMode' @property (nonatomic, assign) WZBroadcastScaleMode broadcastScaleMode; ^ :0: error: failed to import bridging header '.../gocoder-sdk-samples-ios-master/SDKSampleApp.swift/SwiftSDKSampleApp-Bridging-Header.h'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mleavy commented 8 years ago

Sounds like you have an old version of the SDK. Please contact sdkteam@wowza.com for an update.

ahmedb commented 8 years ago

I get the same error on the master branch. Tested 15 mins ago (7am PST, 6/22/16). I tested the Obj-C and Swift projects.

It does not resolve even when I comment the WZBroadcastScaleMode calls out of the sample code. It gives me a linker error: ld: framework not found WowzaGoCoderSDK

ahmedb commented 8 years ago

I was able to resolve the compiler errors I was having with the WZBroadcastScaleMode enum by replacing the sample framework in this project with the one from the SDK.

symonty commented 8 years ago

Thx, so the sample code is out of date as I thought.

lisa-wong commented 8 years ago

Thank you for the comments. We'll be updating the repo. Look for an update later today.

lisa-wong commented 8 years ago

@ahmedb @symonty The Framework has been updated. Thank you for the feedback.

MittaKarthik commented 7 years ago

I am using the sample app with Xcode 8.1 beta, still I am getting compile error framework not found. Why so...???

mleavy commented 7 years ago

Please take a look at the readme. It is readily viewable on the GitHub repo.