我被要求为先前开发的cordova iOS项目提供附加功能。在模拟器中,应用程序在设备上运行完全适用于OS 7.1,但在OS 8.1上,它似乎无法正确缩放并且图像未加载。我已经更新了cordova,我正在使用Xcode 6.1.1。
这是下面的目标输出:
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/MacOS/QuickLook)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/Mac OS X/QuickLook)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/MacOSClassic/QuickLook)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/Mac OS 8/QuickLook)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/QuickLook, 0x00000115)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/QuickLook.framework/QuickLook) ==> 0x11c5bd
2015-01-23 13:28:39.577 Daffodil Day[10984:92068] Finished load of: file:///Users/user/Library/Developer/CoreSimulator/Devices/FF018458-F8C5-475A-9AEF-D2B2AF99CE53/data/Containers/Bundle/Application/78F811B7-9A6D-4B3A-AC8A-659B66B40DD9/Daffodil%20Day.app/www/index.html
dyld_image_path_containing_address(0x10c9dcf3)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/MacOS/DataDetectorsCore)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Mac OS X/DataDetectorsCore)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/MacOSClassic/DataDetectorsCore)
dlopen_preflight(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Mac OS 8/DataDetectorsCore)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore, 0x00000115)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore) ==> 0xcd077f81
Daffodil Day(10984,0xb0093000) malloc: protecting edges
Daffodil Day(10984,0xb0093000) malloc: recording malloc and VM allocation stacks to disk using standard recorder
Daffodil Day(10984,0xb0093000) malloc: enabling scribbling to detect mods to free blocks
_dyld_get_image_slide(0x1000)
Daffodil Day(10984,0xb0093000) malloc: purgeable zone does not support guard pages
2015-01-23 13:28:41.564 Daffodil Day[10984:92068] Resetting plugins due to page load.
dlopen(/usr/lib/libMobileGestalt.dylib, 0x00000002)
dlopen(/usr/lib/libMobileGestalt.dylib) ==> 0x11735c
dlsym(0x11735c, MGCopyAnswer)
dlopen(/System/Library/Frameworks/CoreMotion.framework/CoreMotion, 0x00000002)
dyld: loaded: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreMotion.framework/CoreMotion
dyld_image_path_containing_address(0x1269a000)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreMotion.framework/CoreMotion, 0x00000010)
dlopen(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreMotion.framework/CoreMotion) ==> 0x262fbf60
dlopen(/System/Library/Frameworks/CoreMotion.framework/CoreMotion) ==> 0x262fbf60
dlopen(/System/Library/Frameworks/CoreLocation.framework/CoreLocation, 0x00000002)
dlopen(/System/Library/Frameworks/CoreLocation.framework/CoreLocation) ==> 0x110f84
dlsym(0x11c5bc, QLTypeCopyBestMimeTypeForFileNameAndMimeType)
dlopen(/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices, 0x00000002)
dlopen(/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices) ==> 0x111e48
dlsym(0x111e48, kUTTagClassFilenameExtension)
dlsym(0x111e48, UTTypeCreatePreferredIdentifierForTag)
dlopen(/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices, 0x00000002)
dlopen(/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices) ==> 0x111e48
dlsym(0x111e48, kUTTagClassMIMEType)
dlsym(0x111e48, UTTypeCopyPreferredTagWithClass)
dlsym(0x111e48, UTTypeCopyDeclaration)
dlsym(0x111e48, kUTTypeConformsToKey)
2015-01-23 13:28:44.814 Daffodil Day[10984:92068] Finished load of: file:///Users/user/Library/Developer/CoreSimulator/Devices/FF018458-F8C5-475A-9AEF-D2B2AF99CE53/data/Containers/Bundle/Application/78F811B7-9A6D-4B3A-AC8A-659B66B40DD9/Daffodil%20Day.app/www/startscreen.html
dlopen(/usr/lib/liblangid.dylib, 0x00000005)
dlopen(/usr/lib/liblangid.dylib) ==> 0x117a3c
dlsym(0x117a3c, langid_identify_withbuf)
dlsym(0x117a3c, langid_languagecode)
2015-01-23 13:28:45.526 Daffodil Day[10984:92068] DEPRECATION NOTICE: The Connection ReachableViaWWAN return value of '2g' is deprecated as of Cordova version 2.6.0 and will be changed to 'cellular' in a future release.
这是页脚的代码,图标没有加载(即),我认为这可能会抵消屏幕图像的缩放。
<footer class="bottom_links" data-position="fixed" data-tap-toggle="false">
<ul>
<li><a class="footer_links" href="social.html" rel="external">
<div class="icon_a" align="center"></div>
</br>
<div class="text_a" align="center">Social</div>
</a></li>
<li><a class="footer_links" href="map.html" rel="external">
<div class="icon_a" align="center"></div>
</br>
<div class="text_a" align="center">Locations</div>
</a></li>
<li><a class="footer_links" href="volunteer.html"
rel="external">
<div class="icon_a" align="center"></div>
</br>
<div class="text_a" align="center">Volunteer</div>
</a></li>
<li><a class="footer_links" href="donate.html" rel="external">
<div class="icon_a" align="center"></div>
</br>
<div class="text_a" align="center">Donate</div>
</a></li>
<li><a class="footer_links" href="about.html" rel="external">
<div class="icon_a" align="center"></div>
</br>
<div class="text_a" align="center">About</div>
</a></li>
</ul>
</footer>