- Download and unzip the repository
Go to your project properties
Choose "Flex Build Path" from the properties and choose "Native Extensions" tab
Press "Add ANE" on the left and add path to AirTestFairy.ane
Go to "Flex Build Packaging" from the properties, choose "Apple iOS" and then "Native Extensions" tab. Make sure the Package is selected.
Add the path to the iOS SDK, which is installed with XCode.
In your projects PROJECT-NAME-app.xml add you APIKey as a value for "TestFairyAPIKey" key
Import com.testfairy.AirTestFairy class and add AirTestFairy.begin();
- import com.testfairy.AirTestFairy;
- AirTestFairy.begin();
复制代码 You are ready to build and run your project
[attach]1054[/attach]
相关链接:
https://github.com/adamkan/ane