Text

Single Line Text Widget Integration

Hy everyone, I'm trying to integrate a single line text widget in my project.

I'm following the steps at this link:
http://doc.myscript.com/MyScriptATK_1.3/iOS/sltw/index.html

but i get this error on build:

linker command failed with exit code 1 (use -v to see invocation)
ld: -U and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

Any help is appreciate
Thank you Michele


Thanks for your bug report.
Unfortunately the current packages are not yet compatible with this new XCode 7 option. As a workaround, you will have to disable the flag ‘ENABLE_BITCODE’ under the build settings of the XCode project.
Please accept our apologies for this limitation.
Best regards

Thank you, I've set the flag as False.
Now I get this error:

ld: library not found for -lStylusCore

Could you please try to set ‘All load’ flag, in Xcode settings –> Other Link Flags and let us know if it helps?
Best regards,

here the screenshot, is it this what you asked me?

Other

thank you

I deleted my project and started from a new one, same error on lStylusCore library not found

I've tried again and I solved! thanks for the support

Is there swift code example?

Thanks for your feedback about the 'library search paths' value, it may help other developers.

There is no specific example for swift code, but some other developers posts may help: https://developer-support.myscript.com/support/search/topics?term=swift

Please let us know if you have any other specific question.
Best regards

When is the BitCode enabled package is rolling out or has it rolled out?

Dear Sir,
Sorry for the delay, we plan to add this feature in the next version of the ATK package, rest assured that we will communicate as soon as it will be available on the developer portal.
Best regards

ATK 2 is now available. Single Line, Single Char, Geometry and MathWidget for iOS can be built with BitCode enabled.

Best regards

Login or Signup to post a comment