Quang Hà
Quang Hà

Reputation: 4746

App crashes when starting on iOS 5

Today when testing app on iOS 5, I've found a problem, it crashes on starting.

dyld: Symbol not found: _OBJC_CLASS_$_UIActivityViewController
  Referenced from: /var/mobile/Applications/6F884421-A676-434B-89E0-598F4F8F277F/HGroupware.app/HGroupware
  Expected in: /System/Library/Frameworks/UIKit.framework/UIKit
 in /var/mobile/Applications/6F884421-A676-434B-89E0-598F4F8F277F/HGroupware.app/HGroupware

So what should I do? Change deployment target to iOS >= 6.0 or any solution? Please help me.

Upvotes: 1

Views: 130

Answers (2)

user2260054
user2260054

Reputation: 522

UIActivityViewController is "Available in iOS 6.0 and later.", so ideally, yes, change deployment target. Or change it on something else in code if [UIActivityViewController class] returns nil.

Upvotes: 3

Mani
Mani

Reputation: 17585

Yes only solution is IOS >=6. Because UIActivityViewController is only available from IOS6. See this apple's doc

Upvotes: 4

Related Questions