[英]Xcode 9.1 Archive error
我的项目之前已经过构建和归档。 现在,它只能在模拟器和设备中构建和运行。 归档失败,因此我无法提交另一个Test Flight版本。 这已经将我束缚了4天,我的公司希望能进行另一次“试飞”,但是由于这个错误,我无法交付。
以下是我的pod env
:
### Stack
```
CocoaPods : 1.4.0.beta.2
Ruby : ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
RubyGems : 2.7.0
Host : Mac OS X 10.13.1 (17B48)
Xcode : 9.1 (9B55)
Git : git version 2.13.6 (Apple Git-96)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ d7f61ecea08fb9967efdc454815f49e7196841aa
```
### Installation Source
```
Executable Path: /usr/local/bin/pod
```
### Plugins
```
cocoapods-deintegrate : 1.0.1
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.0.0
cocoapods-trunk : 1.3.0
cocoapods-try : 1.1.0
```
### Podfile
```ruby
platform :ios, '9.0'
use_frameworks!
def default_pods
# Networking, Keychain and Alert
pod 'AFNetworking'
pod 'SSKeychain'
pod 'SAMKeychain'
pod 'RMUniversalAlert'
#Map
pod 'GoogleMaps'
#Dates
pod 'DateTools', '1.7.0'
pod 'MTDates'
#Activity Indicator
pod 'SVProgressHUD'
#Data and Mapping
pod 'EasyMapping', '~> 0.16.1'
pod 'MagicalRecord'
#Debug Mode
#pod 'Reveal-iOS-SDK', :configurations => ['Debug']
#Keyboard
pod 'IQKeyboardManager'
pod 'TSValidatedTextField'
#Paralax Navigation Bar
pod 'GKFadeNavigationController'
#Segment
pod 'Analytics', '3.5.5'
pod 'libPusher', git: 'https://github.com/pusher/libPusher.git', branch: 'push-notifications'
pod 'Mixpanel'#, '3.0.7'
#Phone Number Parser
pod 'libPhoneNumber-iOS', '~> 0.8'
#Textfield Animation
pod 'SkyFloatingLabelTextField', '~> 2.0.0'
#Smooch (customer care chat)
pod 'Smooch'
# Crashlytics
pod 'Fabric'
pod 'Crashlytics'
# 2fa pin code entry
pod 'PopupDialog'#, '~> 0.6'
# etc
pod 'MZFormSheetPresentationController'
end
target 'Upsales CRM Mobile Edition' do
default_pods
end
target 'Upsales CRM Mobile Edition AdHoc' do
default_pods
end
target 'Upsales CRM Mobile Edition Internal AdHoc' do
default_pods
end
```
尝试clean(command + shift + k)然后归档。如果那样不能帮助关闭xcode,则清除派生数据,然后打开项目clean和archive
请检查UIKit框架的某些文件是否被意外更改。 然后,您可以尝试用新的UIKit框架替换Xcode文件夹中的UIKit框架。 是否可以尝试再次删除并安装Xcode。 当然,在那之后,您必须删除DerivedData并重建。
希望对您有帮助。 祝好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.