KeyChain integration causing crash with “missing entitlement” error — via command line builds

后端 未结 3 1429
你的背包
你的背包 2021-01-15 05:09

I\'m having a problem with some KeyChain code causing archives created via xcodebuild to crash when distributed as ad-hoc apps and run on a device. The problem

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-15 05:20

    I think this line is wrong:

    [[KeychainItemWrapper alloc] initWithIdentifier:@"myapp" accessGroup:nil]
    

    You will want to pass your access group name in there. It may or may not fix your problem, these things are a bit "sensitive".

提交回复
热议问题