https://github.com/processone/boxcar-ios-framework
iOS Push Framework for Boxcar
https://github.com/processone/boxcar-ios-framework
Last synced: 8 months ago
JSON representation
iOS Push Framework for Boxcar
- Host: GitHub
- URL: https://github.com/processone/boxcar-ios-framework
- Owner: processone
- License: mit
- Created: 2015-11-18T10:34:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-04T14:59:20.000Z (over 6 years ago)
- Last Synced: 2025-05-18T14:16:52.009Z (9 months ago)
- Language: Objective-C
- Homepage: https://boxcar.io/developer
- Size: 1.43 MB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Development
This project uses Pods.
Thus it is intended to be used from Boxcar.xcworkspace (and not directly xcodeproj).
Build number can be updated with the command:
/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool -noscm next-version
Updating Marketing version:
/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool new-marketing-version 1.0.7
# Building the framework for delivery
The framework is built from the Framework target.
Make sure active scheme target simulator and not device. In latest version, I had to use "Generic iOS device" as Target.
To generate all architecture, we need to build with "Archive". This is mandatory before we can release, otherwise app cannot be released from simulator.
If successful, a new DMG is generated in the package directory.
Check that the build contain all needed architectures before release:
$ xcrun --sdk iphoneos lipo -info package/Boxcar.framework/Boxcar
Architectures in the fat file: package/Boxcar.framework/Boxcar are: armv7 armv7s i386 x86_64 arm64
# Package for Boxcar demo
Demo can be prepared for delivery with git archive command:
git archive HEAD --format=zip > boxcar-ios-demo-1.0.8.zip
# Troubleshooting
You can put the framework in debug mode (with more debug logging) with the command:
[[Boxcar sharedInstance] dbm];
# SWIFT
You can use the franwork with Swift, you just need to add "${PODS_ROOT}/module" in the Pods's HEADER_SEARCH_PATHS to allow Xcode to recognize the modulemap file needed to compile.