草庐IT

load_dataset

全部标签

javascript - react native : Can't run app on iOS correctly "Failed to load bundle(http://localhost:8081/index.bundle?"

当尝试运行ReactnativeiOS应用程序时,我收到一个错误的红色页面。这是我在iOS屏幕上遇到的以下错误。Failedtoloadbundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false)witherror:(Unabletoresolvemodule./node_modules/react-native/src/constants/screensfrom/Users/username/Desktop/mobile/App.js:Themodule./node_modules/reac

ios - 椰子 dyld : Library not loaded @rpath Image not found

我目前正在使用Xcode8.1、cocoapods1.2.0.beta.1,并在装有iOS10.1的模拟器上启动我的应用程序。我的应用构建得很好,但是在模拟器中启动应用后,我收到以下错误:dyld:Librarynotloaded:@rpath/AFNetworking.framework/AFNetworkingReferencedfrom:/Users/XXXXX/Library/Developer/CoreSimulator/Devices/XXXXX/data/Containers/Bundle/Application/XXXXX/XXXXX.app/XXXXXReason:i

ios - XCode 的其他链接器标志中 all_load 的替代方案

我正在添加Rdio到我的iOS应用程序,我卡在了安装的这一部分:Add-all_loadunderOtherLinkerFlagsintheprojectbuildinfo如果我添加该标志,则另一个第三方库会中断并给我错误消息:ld:duplicatesymbol_vw_chartype_table_pin/Users/josh/Projects/app/libs/libvt_universal.a(vw_ctype-3279EF26D0C25F3A.o)and/Users/josh/Projects/app/libs/libvt_universal.a(vw_ctype-34AB9E

ios - 现有路径的 NSBundle "not yet loaded"

我正在尝试实现一种在应用程序内更改语言的方法。我想我已经弄明白了,但由于某种原因,该文件夹没有打包成一个包我有一个名为kh.lproj的文件夹NSString*path=[[NSBundlemainBundle]pathForResource:newLanguageofType:@"lproj"];if([[NSFileManagerdefaultManager]fileExistsAtPath:path]){bundle=[NSBundlebundleWithPath:path];DLOG(@"Language:%@frompath%@(%@)",newLanguage,path,b

ios - 为什么是: "Attempting to load .. while deallocating... :UISearchController:"

我有根Storyboard,其中有一个按钮可以插入ViewControllerB。ViewControllerB有一个排序ControllerUISortController.ViewControllerB有一个由根导航Controller控制的“后退”方法。我收到以下警告:Attemptingtoloadtheviewofaviewcontrollerwhileitisdeallocatingisnotallowedandmayresultinundefinedbehavior()我用了Apple'ssample(需要成员(member)资格)添加新的UISearchControll

ios - CoreData : warning: Unable to load class named 'WEEReadings' for entity 'Readings' . 找不到类,改用默认的 NSManagedObject

好的,经过数小时的搜索,是时候寻求社区的帮助了。我有一个静态库并使用这个很棒的script我生成了我的静态框架,其中包括通用静态库,我还创建了一个包含ReadingsCoreDataModel.momd的包,其中包含ReadingsCoreDataModel.mom。很好,我将这些提供给我的客户端iOS应用程序,所有构建都正确并启动与我的框架相关的应用程序并使用bundle,我的静态库中有一个单例WEEDataStore类被另一个名为Worker的类使用,已检查,NSManagedObjectModel不是nil并且看起来加载正确,NSPersistentStoreCoordinato

ios - "dyld: Library not loaded"错误

我已经成功编译了静态库并将其添加到XCode项目中,就像在documentation中写的一样:libclang.a文件在工程目录下(添加文件副本和组)libclang.a在“Frameworks”中列出我已将“-Objc”链接器标志添加到“其他链接器标志”。libclang.a列在“复制包资源”中libclang.a是为ios模拟器编译的:MBA-Anton:llvm_34_build_i386asmirnov$lipo-info../llvm_34_ios_i386_installed/lib/libclang.ainputfile../llvm_34_ios_i386_insta

ios - iOS 11.1.2 上的 Xamarin.Forms : Webview loads a bigger font

我正在使用Xamarin.Forms加载互联网网页(客户的要求,请不要评判我),问题是在iOS中网页看起来比实际更大。我在iOS上没有任何自定义渲染。这是在iPhone6iOS11.1.2的safari上加载的网站这里是在webview上加载的主页.xamlMainPage.xaml.csusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingXamarin.Forms;usingPlugin.Connectivity;u

ios - 'wait_fences : failed to receive reply: 10004003' on loading UIAlertView (iOS)

当我调用UIAlertView时,我收到“wait_fences:failedtoreceivereply:10004003”。它在应用程序首次打开时调用。它不会使应用程序崩溃或似乎根本不会影响它的功能,但我想完全清理我的应用程序。这是一个标签栏应用程序,我在应用程序中首次加载的ViewController的viewDidLoad部分输入了代码:-(void)viewDidLoad{[superviewDidLoad];UIAlertView*alert=[[UIAlertViewalloc]initWithTitle:@"Welcome!"message:@"Thanksfordow

iphone - iOS 帮助 : loaded the nib but the view outlet was not set

我有一个名为TaskListViewController的类,我将转到ShowTaskViewController。一开始在ShowTaskViewController中我没有View对象,我只有一个TableView对象,我从数据库中动态加载数据,它工作正常。现在我删除了ShowTaskViewController类中的TableView对象,我在.xib文件中拖放了一个View对象,还在它上面拖放了一个TableView对象,因为我想在那个类中有一些额外的按钮,但是现在它向我显示此错误:由于未捕获的异常“NSInternalInconsistencyException”而终止应用程