OGeek|极客世界-中国程序员成长平台

标题: ios - 比 Xcode 中通常的编译时间更长 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 17:57
标题: ios - 比 Xcode 中通常的编译时间更长

Xcode 在我的实际设备上运行我的项目需要比平时更长的时间。在模拟器上运行时,编译时间要快得多。这是报表导航器中需要很长时间的报表部分 -

"Run Custom Shell Script"

"Copy Swift stand libraries"

我尝试弄乱 podfile 以减少时间,但这也不起作用。这是里面的代码-

target 'luto' do
use_frameworks!

pod 'pop', '~> 1.0'
pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'Spring', :git => 'https://github.com/MengTo/Spring.git', :branch => 'swift3'
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.0'
        end
    end
end



Best Answer-推荐答案


我也遇到了同样的问题,Xcode 总体上运行很慢。碰巧是 keychain 问题。删除所有证书并重新添加它们。

关于ios - 比 Xcode 中通常的编译时间更长,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40321574/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4