小编Dir*_*kLX的帖子

Xcode 7和ENABLE_BITCODE = YES设置不起作用

我已经跟随Xcode中新的ENABLE_BITCODE设置的几个线程,也尽可能多地尝试(承认我不是xcode专业版)但仍然无法让我的测试手机上的项目编译?

我的应用程序在模拟器上运行正常但我无法将其部署到我的iPhone上进行测试.在后一个我刚刚安装了iOS 9 beta.

现在,这是我收到的错误消息.看来该设置不会影响PARSE.com lib,这是我项目的一部分?如何将我的项目部署到手机上?谢谢你的建议.

    Ld /Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-  bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods/Parse.framework/Parse normal armv7
cd /Users/xxxxxx/Documents/DigitalTempusDev/graffiti/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -dynamiclib -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods -L/Users/xxxxxx/Documents/DigitalTempusDev/graffiti/Pods/Parse -F/Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Products/Debug-iphoneos/Pods -filelist /Users/xxxxxx/Library/Developer/Xcode/DerivedData/graffiti-bnmizxueojwiqcbbnsvilljhosrw/Build/Intermediates/Pods.build/Debug-iphoneos/Pods-Parse.build/Objects-normal/armv7/Parse.LinkFileList -install_name @rpath/Parse.framework/Parse -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode-marker -ObjC -lParseLib -lz -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -weak_framework Accounts -weak_framework Social -ObjC -fobjc-arc -fobjc-link-runtime -framework AudioToolbox -framework Bolts -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework …
Run Code Online (Sandbox Code Playgroud)

xcode7 bitcode

90
推荐指数
7
解决办法
8万
查看次数

获取照片的权限或从iOS9中未显示的库中获取图像(Xcode 7beta,Swift2)

下面的代码显示了我访问图像lib的示例.无论我在哪里调用代码(视图),我都没有看到手机弹出的权限对话框,因此无法让我的应用程序访问相机或库.

此外,隐私设置也不显示我的应用程序.有什么想法吗?我疯了.

       let imgPicker = UIImagePickerController()
        imgPicker.sourceType = UIImagePickerControllerSourceType.PhotoLibrary
        imgPicker.modalPresentationStyle = UIModalPresentationStyle.Popover
        self.presentViewController(imgPicker, animated: true, completion: nil)
Run Code Online (Sandbox Code Playgroud)

我试过的另一种方式

            if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.Camera) {
                let imagePicker:UIImagePickerController = self.imagePickerController

                imagePicker.allowsEditing       =   true
                imagePicker.sourceType          =   UIImagePickerControllerSourceType.Camera
                imagePicker.cameraCaptureMode   =   UIImagePickerControllerCameraCaptureMode.Photo
                imagePicker.cameraDevice        =   UIImagePickerControllerCameraDevice.Rear
                imagePicker.showsCameraControls =   true
                imagePicker.navigationBarHidden =   true
                imagePicker.toolbarHidden       =   true
                imagePicker.delegate = self

            self.presentViewController(imagePicker, animated: true, completion: nil)
            }
Run Code Online (Sandbox Code Playgroud)

camera ios9 swift2

5
推荐指数
1
解决办法
3864
查看次数

在Mongolite R库中获取ObjectID

我可以从mongoDB实例成功检索数据,但需要重新使用objectID进行依赖查询。

以下代码似乎可以获取我的整个对象,但不能获取ID。我想念什么?

# Perform a query and retrieve data
mongoOBj <- m$find('{"em": "test@test.com"}')
Run Code Online (Sandbox Code Playgroud)

r mongodb mongolite

4
推荐指数
2
解决办法
1342
查看次数

标签 统计

bitcode ×1

camera ×1

ios9 ×1

mongodb ×1

mongolite ×1

r ×1

swift2 ×1

xcode7 ×1