应用程序工作正常与开发人员与Xcode构build。 但使用ipa文件运行时崩溃

我的应用程序在xcode的设备上工作正常。 但使用ipa文件运行时崩溃。 当我使用pipe理器检查控制台时,显示以下错误

终止应用程序由于未捕获的exception'NSInvalidArgumentException',原因:' – [UINibDecoder setScrollEnabled:]:无法识别的select器发送到实例

我用UIPageViewController在UITextView中显示数据。 数据已经使用NSOperationdynamic地添加到已经用于在UITextView中显示的数组中。

易出错的代码行在UIPageViewController的DataViewController中。 这是代码

textView=[[UITextView alloc]initWithFrame:CGRectMake(0, 0, 290, 500)]; parentView.backgroundColor=[UIColor whiteColor]; [textView setAttributedText:textViewAttributedString]; [textView setScrollEnabled:NO]; [textView setBounces:NO]; textView.translatesAutoresizingMaskIntoConstraints=NO; textView.editable=NO; textView.selectable=YES; textView.delegate=self; textView.tag=currentTextViewTag;