Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Trouble generating ApiDefinitions for new Twilio SDK

$
0
0

When I try to generate a binding from libTwiliioVoice.a I get an error. Is there a problem with my command?

MacBook-Pro:twilio-voice-ios michaellang$ sharpie xcode -sdks
sdk: appletvos11.1    arch: arm64
sdk: iphoneos11.1     arch: arm64   armv7
sdk: macosx10.13      arch: x86_64  i386
sdk: watchos4.1       arch: armv7k

MacBook-Pro:twilio-voice-ios michaellang$ sharpie bind -o sharpieOutput -sdk iphoneos11.1 -n TwilioVoice.iOS libTwilioVoice.a
Parsing 1 header files...
warning: /Users/michaellang/watchdog-mobile/twilio-voice-ios/libTwilioVoice.a: 'linker' input unused [-Wunused-command-line-argument]
warning: argument unused during compilation: '-c' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-fno-spell-checking' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-Xclang -detailed-preprocessing-record' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-D NS_BUILD_32_LIKE_64' [-Wunused-command-line-argument]
warning: argument unused during compilation: '-miphoneos-version-min=11.1' [-Wunused-command-line-argument]
error: unable to handle compilation, expected exactly one compiler job in ''
Error while processing /Users/michaellang/watchdog-mobile/twilio-voice-ios/libTwilioVoice.a.

Done. Exiting with error code 1.
error: Clang failed to parse input and exited with code 1

download link for the latest Objective-C Twilio code is here:
www.twilio.com/docs/api/voice-sdk/ios

I extracted the twilio-voice-ios-static-2.0.0-beta21.tar.bz2 file and ran the above commands from that folder.

For reference in what the binding should look like, the docs for the library: media.twiliocdn.com/sdk/ios/voice/releases/2.0.0-beta21/docs/hierarchy.html


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>