Skip to content

Commit

Permalink
Update pod summary for 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bithavoc committed Nov 7, 2019
1 parent ee09910 commit 7e883f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions BuildMode.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
Pod::Spec.new do |s|
s.name = 'BuildMode'
s.version = '0.1.0'
s.summary = 'Indicates whether the iOS Build is simulator, debuggable, enterprise or distribution build. It also indicates whether the build should use sandbox or production services from Apple'
s.summary = 'Provides info about the iOS app for simulator, debuggable, enterprise or distribution builds to use sandbox or production cloud from Apple'
s.swift_versions = '5'
s.description = <<-DESC
Parses the provisioning profile and entitlements from the main bundle and uses un-official heuristics to determine whether a build is for simulator, debuggable, enterprise or distribution.
This helps determine when the app should use sandbox or production services from Apple in the server-side.
This helps determine when the app should use sandbox or production cloud services from Apple in the server-side.
DESC

s.homepage = 'https://github.com/bithavoc/BuildMode'
Expand Down
8 changes: 4 additions & 4 deletions BuildMode/Classes/ProvisioningProfile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public func ProvisioningProfileFrom(bundle: Bundle = Bundle.main) -> Provisionin
guard let plistData = plistText.data(using: .isoLatin1) else {
return nil
}
guard let plist = try? PropertyListSerialization.propertyList(from: plistData, format: nil) as! [String:Any] else {
return nil
}
print("plist", plist)
// guard let plist = try? PropertyListSerialization.propertyList(from: plistData, format: nil) as! [String:Any] else {
// return nil
// }
// print("plist", plist)
let profile = try! PropertyListDecoder().decode(ProvisioningProfile.self, from: plistData)
return profile
}
2 changes: 0 additions & 2 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e883f0

Please sign in to comment.