CocoaPod Pods-HockeySDK存档错误:无法构建模块' UIKit'

时间:2014-05-23 14:11:52

标签: xcode5 cocoapods

这个问题让我疯狂,因为我更新到Xcode 5.1.1奇怪的是,这只发生在我的机器上。在我的同事安装Xcode时,项目成功归档。

项目在我的设备上成功编译并运行。

显然,我们的系统上必须有一个不同的配置设置,但我不知道在哪里看

我已经检查了以下内容:

  • 从我的构建设置的ARCHS中删除ARM64(由于静态库输出产品的使用而需要)
    • 根据此问题
    • 删除(并重新加入)UIKit.framework

这是我的Podfile:

# Podfile

platform :ios, "6.1"
inhibit_all_warnings!

pod 'Reachability',  '~> 3.0'
pod 'KAProgressLabel', :git => 'https://github.com/Ranter/KAProgressLabel.git', :commit => '87f69fda798fd034fee1739f651d44761c37362b'
pod 'Facebook-iOS-SDK', '~> 3.14'
pod 'iToast', '~> 0.0'
pod 'AWSiOSSDK/S3'
pod 'AFNetworking', '~> 2.2'
pod 'AFNetworkActivityLogger', '~> 2.0'
pod 'CWPopup', '~> 1.2.4'
pod 'TheAmazingAudioEngine', '~> 1.3'
pod 'HockeySDK', '~> 3.5.0'
pod 'iCarousel', :git => 'https://github.com/nicklockwood/iCarousel.git', :commit => 'fc618c721fcb9a682317ff198590c3a775033487'

post_install do |installer_representation|
    installer_representation.project.targets.each do |target|
        # Fixes issue with some pods not supporting ARM64
        target.build_configurations.each do |config|
            config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
        end

        # Rename conflicting kBufferSize symbol in TheAmazingAudioEngine
        if target.name == 'Pods-TheAmazingAudioEngine' then
            target.build_configurations.each do |config|
                # Only add to Debug flags since Release inherits from it
                if config.name == 'Debug' then
                    config.build_settings['OTHER_CFLAGS'] ||= []
                    config.build_settings['OTHER_CFLAGS'] << '-DkBufferSize=TAE_kBufferSize'
                end
            end
        end
    end
end

谢谢!

0 个答案:

没有答案