我正在尝试本地化.xib文件.
问题:在检查器中单击"本地化按钮"后,我最终得到一个包含"英语"的列表,没有别的,这是正常的.但通常,我记得有一个"+"按钮,可以让你在这个列表中添加一种语言.
我已经在苹果开发者论坛上问过,因为我使用的是测试版,但帖子已被删除(不知道为什么).
这有一个解决方法吗?
谢谢.
我正试图摆脱这个问题(我希望它是最后一个!)
简而言之,我有一个状态栏应用程序,需要从登录开始.我按照本教程http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/
它正在工作的所有东西,但是当在xcode之外的真实竞赛中测试应用程序的时候,我最终在控制台system.log中得到了这条消息:
appleeventsd[52]: <rdar://problem/11489077> A sandboxed application with pid 1258, "xxxxx" checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be read by appleeventsd ) and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Error=ERROR: #-67061 { "NSDescription"="SecCodeCheckValidity() returned -67061, <SecCode 0x7fb0ea714300 [0x7fff71381e10]>." } (handleMessage()/appleEventsD.cp #2072) client-reqs-q
我所做的是使用此命令检查代码签名: spctl --assess --type execute AppName
结果是主应用程序和Helper应用程序的代码签名正常.
正如您在教程中看到的那样,帮助应用程序项目保留在主应用程序项目中.也许这就是原因?
我尝试了不同的签名配置文件,现在我正在使用"Mac Distribuition"
我正在使用OsX Mavericks DP6和Xcode 5 beta …
我开始开发一个应用程序来通过蓝牙与 arduino 设备进行通信。
我正在初始化 bt 适配器
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
Run Code Online (Sandbox Code Playgroud)
问题是 btAdapter 返回 null,
txt_status.append("\nAdapter " + btAdapter);
Run Code Online (Sandbox Code Playgroud)
就像设备没有蓝牙适配器一样,这不是我的情况。
有任何想法吗?我正在四处寻找,但没有运气。
谢谢,费德里科
活动完整代码:
package com.voice.benz.instaurentremote;
import android.bluetooth.*;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.ListView;
import android.widget.Switch;
import android.widget.TextView;
import android.bluetooth.BluetoothAdapter;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.content.Intent;
import android.widget.Toast;
import android.widget.ArrayAdapter;
import java.util.Set;
import android.content.Context;
import android.util.Log;
public class bluetooth extends ActionBarActivity {
private TextView bluetoothPaired;
private TextView txt_status;
private BluetoothAdapter btAdapter;
private …Run Code Online (Sandbox Code Playgroud) 我首先说我已经安装了小牛队,我很想看到新的功能...等待更好,因为(显然)没有任何轰动性的变化.
无论如何,我正在尝试将我的应用程序提交到应用程序商店,但经过与代码签名的真正艰苦斗争之后,我最终得到了这条消息:
"此捆绑包无效.Apple目前不接受使用此版本操作系统构建的应用程序."
....从我读到的,唯一的解决方案似乎是卸载Mavericks并回到Mountain Lion,但如果其他人有其他方法,我会很高兴.
xcode ×2
adapter ×1
android ×1
bluetooth ×1
bundle ×1
code-signing ×1
localization ×1
sandbox ×1
validation ×1
xcode5 ×1
xib ×1