tuarua / swift-ios-ane Goto Github PK
View Code? Open in Web Editor NEWFlashRuntimeExtensions.swift. Example Air Native Extension written in Swift 5 for iOS, macOS and tvOS
License: Apache License 2.0
FlashRuntimeExtensions.swift. Example Air Native Extension written in Swift 5 for iOS, macOS and tvOS
License: Apache License 2.0
carthage update
"https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.4.0/FreSwift.json"
Incompatible Swift version - framework was built with 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29) and the local version is 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53).
I want to use FreFramework for Siri Shorcuts ANE. Can you compile your framework for Swift 4.2?
I need to use async callback to Flex so i using
FREDispatchStatusEventAsync(ctx, "RESULT", "SUCCESS");
But will result an error below
"_FREDispatchStatusEventAsync", referenced from:
After I added 'ios_dependencies/device' to my build, I can not upload the build to the appstore. the application loader produces this error:
ERROR ITMS-90075: "This bundle is invalid. The application-identifier entitlement is missing; it should contain your 10-character Apple Developer ID, followed by a dot, followed by your bundle identifier."
Without ios_dependencies build uploaded normally but for obvious reasons it does not launch.
Signing code is disabled in all targets in the xcode
i use air sdk 30, ios sdk 11.4, xcode 9.4. all other settings as in the tutorial
I am still using the Flash builder. Could you please share the script to generate the ANE.
I need to generate ANE by using swift language instead of Obj C. Please help.
Using FreSwift 4.1.0, Xcode 11.2.1 and Air 32, I got this error on ios 10.2.1 and ios 11 devices:
DYLD, Library not loaded: @rpath/libswiftCore.dylib | Referenced from: /private/var/containers/Bundle/Application/CEEBD220-AF50-480B-9DFE-73B287B2DAC3/ParentsApp.app/Frameworks/FreSwift.framework/FreSwift | Reason: no suitable image found. Did find: | /private/var/containers/Bundle/Application/CEEBD220-AF50-480B-9DFE-73B287B2DAC3/ParentsApp.app/Frameworks/libswiftCore.dylib: code signature invalid for '/private/var/containers/Bundle/Application/CEEBD220-AF50-480B-9DFE-73B287B2DAC3/ParentsApp.app/Frameworks/libswiftCore.dylib' | | /private/var/containers/Bundle/Application/CEEBD220-AF50-480B-9DFE-73B287B2DAC3/ParentsApp.app/Frameworks/libswiftCore.dylib: code signature invalid for '/private/var/containers/Bundle/Application/CEEBD220-AF50-480B-9DFE-73B287B2DAC3/ParentsApp.app/Frameworks/libswiftCore.dylib'
It works on ios 13.3.1. Is the error related to using Air 32?
I'm not able to compile the XCode project, i changed the build settings to reflect my account, but as not much info / tutorials are available.
So, if any time u get a chance to make a video/tutorial about this, it would be amazing... I definitly want to get my hands dirty on Swift/AIR
Hello,
I tried to testing the ANE but ADT return on macOS :
ld: library not found for -lclang_rt.ios
Compilation failed while executing : ld64
I don't unserstand this message, the library must be -lclang_rt.tvos
and not -lclang_rt.ios
,
and it's missing in <AIR_SDK>/lib/aot/lib-tvos
on Windows the compilation work but when I start the ANE on Apple TV Xcode Console return :
VerifyError: Error #1014: Class flash.external::ExtensionContext could not be found.
I use :
adt -package -target ipa-test...
and
<key>UIDeviceFamily</key>
<array>
<string>3</string>
</array>
Thanks.
FreSwift is available for both iOS and OSX.
I am looking to also bring it to tvOS to complete the triumvirate but will need to first gauge how many people want a tvOS version.
Secondly, I would need it to be funded (mostly to cover the costs of an AppleTV device)
FreSwift for all it's awesomeness has received 0 donations.
sorry,my english is poor
I have develop two app with one ane,
the first ipa ,Application Loader upload is ok,
the second ipa, Application Loader upload is error, this is the error message:
WARNING ITMS-90722: "Certificate Expired. The signing certificate "CN=Apple Worldwide Developer Relations Certification Authority, OU=Apple Worldwide Developer Relations, O=Apple Inc., C=US" with serial number 25 used to sign meeting.app/Frameworks/FreSwift.framework has expired. Learn more (https://help.apple.com/xcode/mac/current/#/dev154b28f09)."
I've been struggling with XCode 9.0/iOS 11 - and I just noticed your commit about XCode 9 not being supported, so just wanted to check with you about my experience so far and share one solution to a problem I had including iOS 11.
I ran into an issue including iOS 11 in my main project - this was solved here:
https://forums.adobe.com/thread/2382667
I was able to build the ANE and I'm targeting iOS 10 - however the error I'm seeing when including the ANE in my project is this:
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/FreSwift.framework/FreSwift) for architecture arm64
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/FreSwift.framework/FreSwift) for architecture armv7
Compilation failed while executing : ld64
Is this one of the reasons that XCode 9 is not supported or is this something that you might know how to resolve?
This project rocks btw, love the idea of being able to use Swift! Thank you for sharing.
Maybe a silly mistake, but I was able to run the project on the simulator, Amazing job btw!!
But when testing on the device ( iPhone ) ("device" Run configuration) the app crashes automatically.
Here's the XCode Console log
You're great. It's a great invention.
Hi, I've been trying to deploy the example on a real device but I keep getting this error.
Termination Description: DYLD, Library not loaded: @rpath/libswiftCore.dylib | Referenced from: /private/var/containers/Bundle/Application/29989E08-4277-406A-BD19-A58427931869/HelloMofilerExample.app/Frameworks/FreSwift.framework/FreSwift
.........
code signature invalid for '/private/var/containers/Bundle/Application/29989E08-4277-406A-BD19-A58427931869/HelloMofilerExample.app/Frameworks/libswiftCore.dylib'
.......
I know I should be using xcode 9.4.1 and I'm on 10.1. But I'm not sure this could be related to that.
Any help will be much appreciate it!
Support for iOS 12 will be added when AIR gets built with iOS SDK 12.
Although iOS 12 + Xcode 10 is due for release in late September, going by last year AIR 32 will be built with SDK 12.
Beta in mid November with release in December.
FREArray.push()
FREArray.insert()
FREArray.remove()
FREArray.isEmpty
FREObject.hasOwnProperty()
FREObject.toString()
@dynamicMemberLookup
to FreObjectSwift
. Adds cleaner way to extend FREObjectsFREObject.call()
as @discardableResult
ArgCountError
classsendEvent()
methodFREObject.setProp()
- use accessor or FreSwiftObject
wrapper insteadFREObject.getProp()
- use accessor or FreSwiftObject
wrapper insteadpublic static var String
convenience init()
FreSwiftLogger
to trace any FREExceptionsFREObject.init()
to return optional and not require tryDevelopment underway in branch
https://github.com/tuarua/Swift-IOS-ANE/tree/3.0.0
I am very sorry my english was poor.
I have install those software to my macOS Mojave 10.14.2
Xcode 10.1 (10B61)
IntelliJ IDEA
AIR 32
and Copy the files from AIRSDK_patch into the corresponding folders in my AIR SDK.
I install Hello World starter project to my iphone6plus(10.3.1)
when I click the app,it crash.
last year I have success run the Hello World starter project in my iphone.
The ANE build scripts, "native_extension/ane/build_xxx.sh", refers to location in Project_dir/Build/Platforms/... folders, where as, xcode 9.4.1 stores build files not in project folder. Can you explain what needs to be done to make your build_ios.sh script work without errors?
UPDATING VIDEOS ON YOUTUBE REALLY HELPS USERS!
Thank you.
Hi!
Is it possible to create a widget ANE?
Maybe a "Hello world" example?
Thanks!
Hello, thanks for your great work first, I'm trying to follow them and learning, and I'm a new Swift Learner. Is there any way to cut down the size of ios dependencies frameworks? I test with your Vibration ANE example, and the IPA size goes to 42M, I use the old Admob ANE with Objective-c written test project, an empty project IPA only take less than 20M. Was adding all these huge 'dylib' necessary?
You receive linking errors while packaging applications with provided swift stubs (text-based tbd-s).
The reason is ld64 from AIR SDK does not support tbd
version 4 (that format used currently in AIRSDK_Additions). It is possible to use another version of tbd
format. I found that version 1 and 2 are supported.
Also, some symbols are different on iphoneos
and iphonesimulator
platforms. Fortunately, you can list all that symbols in one file for different architectures.
Here are swift 5.0 stubs for iphoneos and iphonesumulator merged into v1 tbds:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.