我在我的应用程序中使用DropBox Core API,因此,我必须包含XCTest框架,因为,当我没有添加XCTest框架时,我的应用程序无法连接到Dropbox,但是当我添加框架时,我在为模拟器构建时出错.我的代码没有错!这是错误:
Ld /Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Products/Debug-iphonesimulator/SnapDrop!.app/SnapDrop! normal i386
cd "/Users/Zach/Desktop/SnapDrop!"
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
setenv PATH "/Applications/Xcode5-DP6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode5-DP6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode5-DP6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode5-DP6.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Products/Debug-iphonesimulator -F/Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Products/Debug-iphonesimulator -F/Users/Zach/Downloads/dropbox-ios-sdk-1.3.5 -F/Users/Zach/Downloads/dropbox-ios-sync-sdk-1-1.1.0 -F/Applications/Xcode5-DP6.app/Contents/Developer/Library/Frameworks -F/Users/Zach/Desktop -filelist /Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Intermediates/SnapDrop!.build/Debug-iphonesimulator/SnapDrop!.build/Objects-normal/i386/SnapDrop!.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework iAd -framework AssetsLibrary -framework QuartzCore -framework SystemConfiguration -framework Security -framework CFNetwork -framework XCTest -framework Dropbox -framework DropboxSDK -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Intermediates/SnapDrop!.build/Debug-iphonesimulator/SnapDrop!.build/Objects-normal/i386/SnapDrop!_dependency_info.dat -o /Users/Zach/Library/Developer/Xcode/DerivedData/SnapDrop!-fchnxyvnqyeefscfhmohrzxtiqeb/Build/Products/Debug-iphonesimulator/SnapDrop!.app/SnapDrop!
ld: building for iOS Simulator, but linking against dylib built for MacOSX file …
Run Code Online (Sandbox Code Playgroud) 我在python中编写脚本,我需要知道代码中两点之间有多少毫秒.
程序启动时我有一个全局变量:
from datetime import datetime
a=datetime.now()
Run Code Online (Sandbox Code Playgroud)
当我需要知道已经过了多少毫秒时,我执行这个:
b=datetime.now()
print (b.microseconds-a.microseconds)*1000
Run Code Online (Sandbox Code Playgroud)
但是我收到此错误:
AttributeError: 'datetime.datetime' object has no attribute 'microseconds'
Run Code Online (Sandbox Code Playgroud)
怎么了?我怎样才能解决这个问题?
我提交的应用程序使用Dropbox SDK将照片从iPhone上传到dropbox中的指定文件夹.因为我不知道我不知道如何/什么/如果dropbox sdk使用cyroptograhy.你能帮我回答下列问题吗?:
您的应用是否设计为使用加密技术,还是包含或包含加密技术?(即使您的应用仅使用iOS或OS X中提供的加密,也请选择"是".)
如果是这样,您的应用程序是否有资格获得美国出口管理条例第2部分第5类规定的任何豁免?确保您的应用符合此处列出的豁免条件.您有责任对产品进行适当的分类.对您的应用进行错误分类可能会导致您违反美国出口法律,并可能导致您受到处罚,包括您的应用从App Store中删除.在回答问题之前,请仔细阅读常见问题解答.如果您的应用程序的加密是:(a)专为医疗最终用途而设计(b)仅限于知识产权和版权保护(c)仅限于身份验证,数字签名或解密,您可以为问题#2选择"是" (d)为银行业务或"货币交易"而特别设计和限制的数据或文件; 或(e)限于"固定"数据压缩或编码技术如果您的应用程序符合美国出口管理条例第2部分第5类注释4中提供的描述,您也可以选择是.
如果没有,您的应用程序是否实施了一个或多个加密算法,这些加密算法是专有的,或者尚未被国际标准机构(例如IEEE,IETF,ITU等)接受为标准?
等等.
build ×1
datetime ×1
dropbox ×1
dropbox-api ×1
encryption ×1
frameworks ×1
iphone ×1
objective-c ×1
python ×1
xcode ×1