diff --git a/HockeySDK.podspec b/HockeySDK.podspec index a505f26e4d..7628cc604a 100644 --- a/HockeySDK.podspec +++ b/HockeySDK.podspec @@ -1,26 +1,29 @@ Pod::Spec.new do |s| s.name = 'HockeySDK' - s.version = '3.0.0' + s.version = '3.5.0b1' s.license = 'MIT' s.platform = :ios, '5.0' s.summary = 'Distribute beta apps and collect crash reports with HockeyApp.' s.homepage = 'http://hockeyapp.net/' s.author = { 'Andreas Linde' => 'mail@andreaslinde.de', 'Thomas Dohmke' => "thomas@dohmke.de" } - s.source = { :git => 'https://github.com/bitstadium/HockeySDK-iOS.git', :tag => '3.0.0' } + s.source = { :git => 'https://github.com/bitstadium/HockeySDK-iOS.git', :tag => s.version.to_s } s.description = 'HockeyApp is a server to distribute beta apps, collect crash reports and ' \ - 'communicate with your app users.' \ + 'communicate with your app users.' \ 'It improves the testing process dramatically and can be used for both beta ' \ 'and App Store builds. Only beta builds will notify users about a new version. ' \ 'NOTE: If you want the framework to try again when a network is available, add a dependency ' \ 'on Reachability and send a notification with the name `BITHockeyNetworkDidBecomeReachable` ' \ - 'yourself when the network becomse reachable.' + 'yourself when the network becomes reachable.' s.source_files = 'Classes' - s.resource_bundle = { 'HockeySDKResources' => ['Resources/*.png', 'Resources/*.lproj'] } s.requires_arc = true s.preserve_paths = 'Resources', 'Support', 'Vendor' s.frameworks = 'CoreText', 'QuartzCore', 'SystemConfiguration', 'CrashReporter', 'CoreGraphics', 'UIKit' s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/HockeySDK/Vendor"', 'GCC_PREPROCESSOR_DEFINITIONS' => %{$(inherited) BITHOCKEY_VERSION="@\\"#{s.version}\\""} } + + s.resource = 'Resources/HockeySDKResources.bundle' + s.prepare_command = 'xcodebuild -project Support/HockeySDK.xcodeproj -target HockeySDKResources CONFIGURATION_BUILD_DIR=../Resources 2>&1 > /dev/null' end +