【发布时间】:2013-11-05 10:30:03
【问题描述】:
我有一个适用于 iPhone 的 iOS 目标 C 代码,我正在尝试使用 Apportable 将其转换为 android。问题是我收到了这个错误:
1 error generated.
scons: *** [Build/android-armeabi-debug/com.iapptechnologies.time/Users/Home/PhotoTastic/PhotoTastic/AppClasses/ViewController.m.o] Error 1
In file included from /Users/Home/PhotoTastic/PhotoTastic/OtherClasses/QBImagePickerController/QBAssetCollectionViewController.m:11:
/Users/Home/PhotoTastic/PhotoTastic/OtherClasses/QBImagePickerController/QBAssetCollectionViewController.h:12:9: fatal error:
'AssetsLibrary/AssetsLibrary.h' file not found
#import <AssetsLibrary/AssetsLibrary.h>
^
任何帮助将不胜感激。谢谢!
【问题讨论】:
-
iOS 项目中是否添加了 AssetsLibrary 库?
-
@LithuT.V 不,它只是通过#import 指令包含的。如何将其添加到 iOS 项目中?留下您的回答作为对这个问题的回答。
标签: android ios objective-c apportable