Skip to content
This repository was archived by the owner on Aug 4, 2019. It is now read-only.

Update to latest toxAV from mannol #143

Merged
merged 9 commits into from
Oct 18, 2015
Merged

Update to latest toxAV from mannol #143

merged 9 commits into from
Oct 18, 2015

Conversation

Chuongv
Copy link
Member

@Chuongv Chuongv commented Oct 15, 2015

Some new enums were added from toxav.

Did $ xctool -workspace objcTox.xcworkspace -scheme iOSDemo -sdk iphonesimulator CODE_SIGNING_REQUIRED=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test

But got one error:
Unable to read build settings for target 'iOSDemoTests'. It's likely that the scheme references a non-existent target.

xcodebuild: error: The test action requires that the name of a scheme in the project is provided using the "-scheme" option. The "-list" option can be used to find the names of the schemes in the project.

However all tests pass when running them in xcode

- (void) toxAV:(OCTToxAV *)toxAV bitrateStatusForFriendNumber:(OCTToxFriendNumber)friendNumber
audioBitRate:(OCTToxAVAudioBitRate)audioBitrate
videoBitRate:(OCTToxAVVideoBitRate)videoBitrate
{}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why objcTox isn't handling this callback?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea you are right, this should be done at objcTox level. I'll move this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm... I think that it should be done not in OCTToxAV, but on more higher level. OCTSubmanagerCalls would be perfect place for that. So everything was fine, no need to remove the callback. I was just writing about those empty parentheses.

Can you please get it back (and add a comment to the #88 here)? :-)
Sorry for confusing.

@dvor
Copy link
Member

dvor commented Oct 16, 2015

Unable to read build settings for target 'iOSDemoTests'. It's likely that the scheme references a non-existent target.

I'll take a look. Created an issue #144

@dvor
Copy link
Member

dvor commented Oct 18, 2015

Cool, thanks!

dvor added a commit that referenced this pull request Oct 18, 2015
@dvor dvor merged commit e2ebb58 into audio Oct 18, 2015
@Chuongv Chuongv deleted the chuongv/updateToLatestAudio branch October 23, 2015 17:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants