Skip to content

Commit

Permalink
Merge pull request #40 from tuarua/5.0.0
Browse files Browse the repository at this point in the history
5.0.0
  • Loading branch information
tuarua authored Sep 26, 2020
2 parents 01ccb22 + f499d9f commit 6889565
Show file tree
Hide file tree
Showing 28 changed files with 46 additions and 49 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 5.0.0
- Upgrade to Xcode 12.0
- Upgrade to Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)

### 4.5.0
- Upgrade to Xcode 11.6
- Upgrade to Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Example Xcode projects showing how to create AIR Native Extensions for iOS, tvOS & macOS using Swift.
It supports iOS 9.0+, tvOS 9.2+, macOS 10.10+

#### Xcode 11.6 (11E708) must be used with Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#### Xcode 12.0+ (12A7209) must be used with Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
It is not possible to mix Swift versions in the same app. Therefore all Swift based ANEs must use the same exact version.

This project is used as the basis for the following ANEs
Expand Down Expand Up @@ -219,6 +219,6 @@ You will need

- IntelliJ IDEA
- AIR 33.1.1.217+
- Xcode 11.6
- Xcode 12.0
- wget on macOS via `brew install wget`
- [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
2 changes: 1 addition & 1 deletion framework_src/example-ios/Main-app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>com.tuarua.freswiftdemo</id>
<filename>FreSwiftExample</filename>
<name>FreSwiftExample</name>
<versionNumber>4.5.0</versionNumber>
<versionNumber>5.0.0</versionNumber>
<initialWindow>
<content>SWF file name is set automatically at compile time</content>
<visible>true</visible>
Expand Down
2 changes: 1 addition & 1 deletion framework_src/example-osx/Main-app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>Main</id>
<filename>Main</filename>
<name>Main</name>
<versionNumber>4.5.0</versionNumber>
<versionNumber>5.0.0</versionNumber>
<extensions>
<extensionID>com.tuarua.FreSwiftExampleANE</extensionID>
<extensionID>com.tuarua.FreSwift</extensionID>
Expand Down
2 changes: 1 addition & 1 deletion framework_src/example-tvos/Main-app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>com.tuarua.FreSwiftExample</id>
<filename>FreSwiftExample</filename>
<name>FreSwiftExample</name>->
<versionNumber>4.5.0</versionNumber>
<versionNumber>5.0.0</versionNumber>
<initialWindow>
<content>SWF file name is set automatically at compile time</content>
<visible>true</visible>
Expand Down
Binary file modified framework_src/freswift_native_extension/ane/FreSwift.ane
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>com.tuarua.FreSwift</id>
<name>FreSwift</name>
<copyright>This work is licensed under Apache License, Copyright (c) 2017 Tua Rua Ltd.</copyright>
<versionNumber>4.5.0</versionNumber>
<versionNumber>5.0.0</versionNumber>
<platforms>
<platform name="MacOS-x86-64">
<applicationDeployment>
Expand Down
2 changes: 1 addition & 1 deletion framework_src/native_extension/ane/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>com.tuarua.FreSwiftExampleANE</id>
<name>FreSwift Example ANE</name>
<copyright>This work is licensed under MIT License, Copyright (c) 2018 Tua Rua Ltd.</copyright>
<versionNumber>4.5.0</versionNumber>
<versionNumber>5.0.0</versionNumber>
<platforms>
<platform name="iPhone-x86">
<applicationDeployment>
Expand Down
1 change: 1 addition & 0 deletions framework_src/native_library/FreSwiftExampleANE/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ docs/
create_docs.sh
FreSwift.framework.zip
README.md
wcarthage
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
limitations under the License.*/

#if __APPLE__
#include "TargetConditionals.h"
#include <TargetConditionals.h>
#if (TARGET_IPHONE_SIMULATOR) || (TARGET_OS_IPHONE) || (TARGET_OS_TV)
#import <UIKit/UIKit.h>
#elif TARGET_OS_MAC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
90E26D4D210394DF003E0B9B /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0940;
LastUpgradeCheck = 1200;
ORGANIZATIONNAME = "Eoin Landy";
TargetAttributes = {
90E26D55210394DF003E0B9B = {
Expand Down Expand Up @@ -920,6 +920,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -983,6 +984,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -1115,7 +1117,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.tuarua.FreSwift;
PRODUCT_NAME = FreSwift;
Expand Down Expand Up @@ -1151,7 +1153,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.tuarua.FreSwift;
PRODUCT_NAME = FreSwift;
Expand All @@ -1170,6 +1172,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
CLANG_CXX_LIBRARY = "compiler-default";
CODE_SIGN_IDENTITY = "";
Expand All @@ -1189,7 +1192,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.tuarua.FreSwift;
PRODUCT_NAME = FreSwift;
Expand All @@ -1207,6 +1210,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_CXX_LANGUAGE_STANDARD = "compiler-default";
CLANG_CXX_LIBRARY = "compiler-default";
CODE_SIGN_IDENTITY = "";
Expand All @@ -1226,7 +1230,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.tuarua.FreSwift;
PRODUCT_NAME = FreSwift;
Expand Down Expand Up @@ -1268,7 +1272,7 @@
);
LIBRARY_SEARCH_PATHS = /Users/eoinlandy/SDKs/AIRSDK_30/runtimes/air/mac;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = (
"-weak_framework",
"\"Adobe AIR\"",
Expand Down Expand Up @@ -1310,7 +1314,7 @@
);
LIBRARY_SEARCH_PATHS = /Users/eoinlandy/SDKs/AIRSDK_30/runtimes/air/mac;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MARKETING_VERSION = 4.5.0;
MARKETING_VERSION = 5.0.0;
OTHER_LDFLAGS = (
"-weak_framework",
"\"Adobe AIR\"",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:FreSwiftExampleANE.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:FreSwiftExampleANE.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0940"
LastUpgradeVersion = "1200"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -29,8 +29,6 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -51,8 +49,6 @@
ReferencedContainer = "container:FreSwiftExampleANE.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
2 changes: 1 addition & 1 deletion starter_project_static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ You will need

- IntelliJ IDEA
- AIR 33.1.1.217+
- Xcode 11.6
- Xcode 12.0
- wget on macOS via `brew install wget`
- [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/FreSwift.json" ~> 4.5.0
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/FreSwift.json" ~> 5.0.0
2 changes: 1 addition & 1 deletion starter_projects/example-ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ You will need

- IntelliJ IDEA
- AIR 33.1.1.217+
- Xcode 11.6
- Xcode 12.0
- wget on macOS via `brew install wget`
- [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
4 changes: 2 additions & 2 deletions starter_projects/example-ios/get_ios_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
rm -r ios_dependencies/device
rm -r ios_dependencies/simulator

wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/ios_dependencies.zip
wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/ios_dependencies.zip
unzip -u -o ios_dependencies.zip
rm ios_dependencies.zip

wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/AIRSDK_additions.zip
wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/AIRSDK_additions.zip
unzip -u -o AIRSDK_additions.zip
rm AIRSDK_additions.zip
2 changes: 1 addition & 1 deletion starter_projects/example-mac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ You will need

- IntelliJ IDEA
- AIR 33.1.1.217+
- Xcode 11.6
- Xcode 12.0
- wget on macOS via `brew install wget`
- [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
2 changes: 1 addition & 1 deletion starter_projects/example-mac/get_mac_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

wget -O ../native_extension/ane/FreSwift.ane https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/FreSwift.ane?raw=true
wget -O ../native_extension/ane/FreSwift.ane https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/FreSwift.ane?raw=true
2 changes: 1 addition & 1 deletion starter_projects/example-tvos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ You will need

- IntelliJ IDEA
- AIR 33.1.1.217+
- Xcode 11.6
- Xcode 12.0
- wget on macOS via `brew install wget`
- [Carthage](https://github.com/Carthage/Carthage#installing-carthage)
4 changes: 2 additions & 2 deletions starter_projects/example-tvos/get_tvos_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

rm -r tvos_dependencies/device

wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/tvos_dependencies.zip
wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/tvos_dependencies.zip
unzip -u -o tvos_dependencies.zip
rm tvos_dependencies.zip

wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/AIRSDK_additions.zip
wget https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/AIRSDK_additions.zip
unzip -u -o AIRSDK_additions.zip
rm AIRSDK_additions.zip
2 changes: 1 addition & 1 deletion starter_projects/native_library/ios/HelloWorldANE/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/FreSwift.json" ~> 4.5.0
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/FreSwift.json" ~> 5.0.0
4 changes: 2 additions & 2 deletions starter_projects/native_library/ios/HelloWorldANE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Example Xcode project showing how to create Air Native Extensions for iOS using Swift.
It supports iOS 9.0+

#### Xcode 11.6 (11E708) must be used with Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#### Xcode 12.0+ (12A7209) must be used with Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
It is not possible to mix Swift versions in the same app. Therefore all Swift based ANEs must use the same exact version.

#### To download the required FreSwift Framework
Expand Down Expand Up @@ -70,6 +70,6 @@ func goBack(ctx: FREContext, argc: FREArgc, argv: FREArgv) -> FREObject? {

You will need

- Xcode 11.6
- Xcode 12.0
- IntelliJ IDEA
- AIR 33.1.1.217+
2 changes: 1 addition & 1 deletion starter_projects/native_library/mac/HelloWorldANE/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/FreSwift.json" ~> 4.5.0
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/FreSwift.json" ~> 5.0.0
4 changes: 2 additions & 2 deletions starter_projects/native_library/mac/HelloWorldANE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Example Xcode project showing how to create Air Native Extensions for OSX using Swift.
It supports OSX 10.10+

#### Xcode 11.6 (11E708) must be used with Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#### Xcode 12.0+ (12A7209) must be used with Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
It is not possible to mix Swift versions in the same app. Therefore all Swift based ANEs must use the same exact version.

#### To download the required FreSwift Framework
Expand Down Expand Up @@ -69,7 +69,7 @@ func goBack(ctx: FREContext, argc: FREArgc, argv: FREArgv) -> FREObject? {

You will need

- Xcode 11.6
- Xcode 12.0
- IntelliJ IDEA
- AIR 33.1.1.217+

Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/4.5.0/FreSwift.json" ~> 4.5.0
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.0.0/FreSwift.json" ~> 5.0.0
4 changes: 2 additions & 2 deletions starter_projects/native_library/tvos/HelloWorldANE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Example Xcode project showing how to create Air Native Extensions for tvOS using Swift.
It supports tvOS 9.2+

#### Xcode 11.6 (11E708) must be used with Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
#### Xcode 12.0+ (12A7209) must be used with Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
It is not possible to mix Swift versions in the same app. Therefore all Swift based ANEs must use the same exact version.

#### To download the required FreSwift Framework
Expand Down Expand Up @@ -70,7 +70,7 @@ func goBack(ctx: FREContext, argc: FREArgc, argv: FREArgv) -> FREObject? {

You will need

- Xcode 11.6
- Xcode 12.0
- IntelliJ IDEA
- AIR 33.1.1.217+

0 comments on commit 6889565

Please sign in to comment.