-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIMOB-25927] Add Swift support for native modules, move SDK-core int…
…o "TitaniumKit.framework" (#10218) * Move core to TitaniumKit, link core-framework to the SDK * Updates to tooling and native module templates * Remove unused libraries, update package.json * Lint new iOS source * Lint TitaniumKit * Fix Swift module template with characters that are disallowed in frameworks (new) but not libraries (old) * Use relative imports for backwards compatibility with old modules * Hack together backwards compatibility for old modules * Fix ESLint errors * Do not replace TitaniumKit imports with the project name * Move ApplicationMods and ApplicationDefaults back to main target * Add TiSharedConfig to main.m template * Fix up generated main.m, add ApplicationMods / ApplicationDefaults to pbxproj * Inject constants properly * Refactor log-server, link C-libraries properly * More cleanup to the main.m and related constants * Link TitaniumKit as an embedded framework, finally a stable build! * Proof of concept of extending TitaniumKit via the core to retain preprocessor flags concept * Solve all USE_TI_* preprocessor macros, always compile in Hyperloop-related code since it's guarded * Add instructions for using Carthage to build a universal framework * Allow native apps to pass -TI_USE_NATIVE=1 to use Titanium * Linting * Resolve more merge conflicts * Integrating more merge conflicts * Fine-tune config to handle all fields * Fix duplicate declarations * Attempt to use Jazzy for generating docs * Migrate Ti.Blob changes manually * Fix up module build, get a proper library for both Obj-C and Swift again * Update app build for new framework handling * Fix damn typos * Fix suffix in templates * Working module inclusion! * Precompile TitaniumKit.framework, copy it to dist * Re-link the framework into the iOS build directory * Start documenting more core-API's * Add build-settings hook to Swift-based modules * Fix typos * Ignore TiCore for now, making switches between branches during dev easier * Fix format, fix launch-screen state * Fix possible Ti.Buffer / Ti.Blob leaks for edge-cases, wrap iOS 12 proxy-API's (not required but looks more clean) * chore: change comments header, put some macros back in * chore: use iOS 8 in TitaniumKit for now again * retain storyboard-view properly * fix: resolve remaining merge conflicts * fix: restore auto-release-pool * Fix bad merge on Ti.Ui.Window.safeArea code to remove ifdef no longer used
- Loading branch information
1 parent
7860b46
commit fbae1cf
Showing
668 changed files
with
13,242 additions
and
2,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Use the --use-libraries switch when pushing or linting this podspec | ||
|
||
Pod::Spec.new do |s| | ||
|
||
s.name = "TitaniumKit" | ||
s.version = "1.0.0" | ||
s.summary = "Axway Titanium iOS Core framework" | ||
|
||
s.description = <<-DESC | ||
The Axway Titanium iOS Core framework. | ||
DESC | ||
|
||
s.homepage = "https://github.com/appcelerator/titanium_mobile" | ||
s.license = { :type => "Apache 2", :file => "LICENSE" } | ||
s.author = 'Axway Appcelerator' | ||
|
||
s.platform = :ios | ||
s.ios.deployment_target = '8.0' | ||
|
||
s.source = { :git => "https://github.com/appcelerator/titanium_mobile.git" } | ||
|
||
s.vendored_libraries = 'iphone/TitaniumKit/TitaniumKit/Libraries/**/*.{a}' | ||
s.preserve_paths = 'iphone/TitaniumKit/TitaniumKit/Libraries/**/*.{a}' | ||
|
||
s.ios.weak_frameworks = 'UIKit', 'Foundation' | ||
s.requires_arc = false | ||
|
||
s.public_header_files = 'iphone/TitaniumKit/TitaniumKit/**/**/*.h' | ||
s.source_files = 'iphone/TitaniumKit/TitaniumKit/Sources/**/**/*.{h,m}', 'iphone/TitaniumKit/TitaniumKit/Libraries/**/*.h', 'iphone/TitaniumKit/TitaniumKit/TitaniumKit.h' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.