编辑此问题现在问题不同了。
通过为正确的平台构建它(armv7),我摆脱了链接问题。 现在,我陷入另一个问题,不让我启动我的应用程序。以下是我的测试应用程序的输出,它基本上检查是否启用了FIPS模式:
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Oct 17 16:52:01 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".
Setting environment variable "MallocStackLogging" to null value.
tty /dev/ttys003
sharedlibrary apply-load-rules all
target remote-mobile /tmp/.XcodeGDBRemote-22227-108
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
Re-enabling shared library breakpoint 1
Re-enabling shared library breakpoint 2
Re-enabling shared library breakpoint 3
openssFIPSTest(235) malloc: recording malloc stacks to disk using standard recorder
openssFIPSTest(235) malloc: stack logs being written into /private/var/mobile/Applications/CBBB042A-B015-48B3-8CB4-8539EC8FD406/tmp/stack-logs.235.openssFIPSTest.index
openssFIPSTest(235) malloc: Please issue: cp /private/var/mobile/Applications/CBBB042A-B015-48B3-8CB4-8539EC8FD406/tmp/stack-logs.235.openssFIPSTest.jsOD6R.link /tmp/
89a6797b8847c7f20ce1ca972858d3a7e2d97e4d
直到第一种方法才开始:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions.
预启动本身存在一些错误。我已多次重启mac book,ipad和xcode但没有运气。
有什么线索?
答案 0 :(得分:0)
您已在PC / Mac上为x86构建静态库,并尝试将其与iOS二进制文件(armv6 / armv7)链接。
如果要在模拟器和所有iDevices上运行应用程序,则需要构建一个多拱静态库(i386 / armv6 / armv7)。