Comments (4)
There are Swift 2.1, Swift 2.1.1, and Swift 2.2 compatible branches and tags (for Swift 2.1 and 2.2) for the moment, but we will put more effort into this soon!
from heimdallr.swift.
Sorry, maybe it wasn't clear what my exact problem is.
If I upload an app (which uses Heimdallr) to TestFlight, Apple rejects it instantly during upload since there is a "beta" keyword in the Heimdallr podspec.
subspec.dependency 'Result', '0.6.0-beta.4'
The funny thing is if I fix it manually (changing 0.6.0-beta.4
to 0.6.0
) everything works fine (even if it's still the same Result code). So Apple simply seems to check the uploaded files for the "beta" strings.
It's also interesting that Apple doesn't beef about the "alpha" at ReactiveCocoa. Maybe that's the case because Apple likes Alphas more than Betas... or it isn't such a simple check and it doesn't beef because we don't use ReactiveCocoa.
I will upgrade to your Swift 2.2 branch and give feedback after our next release in February. Maybe Apple accepts it despite the spec.version = '3.1.0-alpha.3'
;)
from heimdallr.swift.
You might also use the following post install hook:
post_install do |installer|
plist_buddy = "/usr/libexec/PlistBuddy"
# Fix poorly formatted versions.
installer.pods_project.targets.each do |target|
plist = "Pods/Target Support Files/#{target}/Info.plist"
version = `#{plist_buddy} -c "Print CFBundleShortVersionString" "#{plist}"`.strip
version_stripped = /^([\d\.]*)/.match(version).captures[0]
version_components = version_stripped.split('.').map { |s| s.to_i }
# Ignore properly formatted versions.
unless version_components.slice(0..2).join('.') == version
major, minor, patch = version_components
minor ||= 0
patch ||= 0
version_fixed = "#{major}.#{minor}.#{patch}"
puts "Changing version of #{target} from #{version} to #{version_fixed}."
`#{plist_buddy} -c "Set CFBundleShortVersionString #{version_fixed}" "#{plist}"`
end
end
end
from heimdallr.swift.
Works like a charm. Thank you very much!
from heimdallr.swift.
Related Issues (20)
- Grant Type Failure HOT 2
- Support for Swift Package Manager ? HOT 4
- lude
- Can't Import after cocoa pods
- Install via Carthage, stuck on ReactiveObjC HOT 1
- Add dot release based on latest master for carthage?
- New release based on master?
- pointer being freed was not allocated
- how to handle different status code
- Version 3.7.0 not available through cocoa pods
- SwiftUI support? HOT 1
- FYI / congrats (?)
- How to pass scope when using resource owner flow? HOT 4
- Support for SSL connections using self-signed certificates HOT 1
- Remove Argo? HOT 1
- Prevent firing multiple requests? HOT 3
- Update Result dependency to version 3.0.0 HOT 2
- Can't build with Carthage HOT 2
- FYI Xcode 8/iOS 10 Keychain issues HOT 4
- expiresAt value: timeInterval.flatMap(toNSDate) vs NSDate(timeInterval)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heimdallr.swift.