xcode6.1

Xcode 6.1 error while building IPA

我的梦境 提交于 2019-11-26 10:07:13
问题 Just upgraded to Xcode 6.1 today, and guess what: Now I\'m having trouble submitting builds using the TestFlight desktop app. Here\'s the error I\'m getting while the app starts building the IPA: error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign 854059d45eed724593debef577a562e1ba96ab55 --resource-rules=/tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist /tmp/QYFSJIvu7W/Payload/XX.app failed with error 1. Output: Warning: usage of --preserve

NSFontAttributedString worked before XCode 6.1

为君一笑 提交于 2019-11-26 10:03:04
问题 let timeFont = [NSFontAttributeName:UIFont(name: \"Voyage\", size: 20.0)] var attrString3 = NSAttributedString(\"(Time)\", attributes : timeFont); // <--- compiler error \"Extra argument in call\" This code worked in xcode 6.0, but now that I\'ve upgraded to xcode 6.1 it doesn\'t work anymore and I can\'t figure out what I need to get it back working. It says that there is an extra argument, but that\'s not correct. I believe that it has something to do with the new failable initializers, but