在Xcode中运行是正确的,但是当我想使用命令行与$/usr/bin/xcodebuild -scheme projectA -workspace projectA.xcworkspace -configuration Debug clean build
并提出以下建议.
=== BUILD NATIVE TARGET projectA OF PROJECT projectA WITH CONFIGURATION Debug ===
Check dependencies
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s).
Run Code Online (Sandbox Code Playgroud)
在构建设置中:
在我改变Build Active Architecture Only = No之后,构建成功了.
针对这种情况的建议设置是什么,在建议线模式下建立成功?谢谢.
我得到了导航抽屉的列表视图,如何在列表视图的底部放置"添加好友"列表项,"设置"对齐.

更新1
我在页脚视图中添加了设置视图.
View settingView = getLayoutInflater().inflate(R.layout.drawer_list_item, null);
TextView textView = (TextView)settingView.findViewById(R.id.drawer_list_item_text_view);
textView.setText("Settings");
drawerListView.addFooterView(settingView);
Run Code Online (Sandbox Code Playgroud)
设置项成功显示在列表视图中的最后一个项目上.但是我怎样才能让它在底部粘住并对齐?谢谢.