1

I download the AllJoyn sample code and follow this link (Build) to build it step by step.

    1. I could build these samples successfully under the path(alljoyn-ios/core/alljoyn/alljoyn_objc/samples/iOS/)
    1. I have no idea why I get the error as below when I build the notification service samples under the path (alljoyn-ios/services/alljoyn-notification-14.06.00-rel/objc/samples/)
      • I am sure I have correct header search paths and lib search paths. so is there any other items I should to check ?

    List item


update:

I edit the env path ALLSEEN_BASE_SERVICES_ROOT, and try to set my header & lib search path as below.

enter image description here

enter image description here

Now, I got this error in couple places. It's really creepy about the search path setting. I couldn't figure out what is the right settings in the service sample project.
enter image description here

4

3 に答える 3

0

「alljoyn-ios」の「core」フォルダに新しいフォルダ「alljoyn」を追加します。! このエラーはなくなります。

階層 -> alljoyn-ios -> core -> alljoyn ありがとう、RD

于 2015-08-07T11:04:34.247 に答える
0

パスが間違っています。「通知」を「alljoyn-notification-14.06.00-rel」に変更してください。パスが正しいことを確認してください。修正します。

于 2015-04-13T02:53:51.893 に答える
0

試しましたか

cd alljoyn-ios
launchctl setenv ALLJOYN_SDK_ROOT `pwd`
cd services
launchctl setenv ALLSEEN_BASE_SERVICES_ROOT `pwd`

コマンドラインからXcodeを開いて、それらの変数を取得できるようにしますか?

また、ライブラリ検索パスとヘッダー検索パスで、 $(ALLJOYN_ROOT) をファイルへの絶対パスに置き換えます

ALLJOYN_ROOT が見つからないため、シンボルについて不平を言っているようです

上記がうまくいかない場合は、コマンド ラインで ALLJOYN_ROOT を設定してから、コマンド ラインから Xcode を開き、前述の手順で全体をコンパイルしてみてください。

于 2015-02-07T00:24:16.010 に答える