2017-12-03 19 views
0

ログをチェックするときにMIInstallerまたはMIContainerと一緒にインストールされないため、共有拡張をアプリケーションに追加できません。拡張子.appexファイルは.appファイルではインストールされません。含まれているアプリケーションのみをインストールするようにしてください

私の主なアプリ(1年前のように、アプリ2が入っていると言いましょう)と非常に古いコミットに行きました。

は、私は両方のアプリを含むために働いているのiOSコンソールログ

[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.01s, Verifying: 0.00s; Overall: 0.22s

[MIContainer makeContainerLiveReplacingContainer:reason:withError:]

をチェックすると、それは拡張のために実行されることはありません。


私が手

拡張子の追加、(アプリをコミット古い)APP2を含むで作業

[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.sentieo.****.sharetestClipper at /Users/abhijeet/Library/Developer/CoreSimulator/Devices/67BB0468-878B-4216-B092-2B16F5292939/data/Containers/Data/PluginKitPlugin/19C4F695-2B90-49B3-94AA-5AD09C565BA1

これは正常に動作し、


これをデバッグしたことがあり今3日間、私がチェックする必要がある何か。

私は別の質問(Share Extension Not showing up on iPad existing project)も投稿しました。

UPDATE

は、問題の根本的な原因を考え出しました。 プラグインフォルダの参照を含む私のプロジェクトの中でckeditorを使用しています。この "Plugins"フォルダは、extesnionのインストールに必要なものと同じものです。プラグインフォルダの参照(青色)を削除 myap.app/plugins/

enter image description here

enter image description here

、私は私の拡張子が現れ得ます。

この "plugins"フォルダの名前を変更する方法はありますか、別の方法で拡張子をインストールする方法はありますかプラグインフォルダ?答えを探している人のために

答えて

0

私はちょうどappexファイルをインストールするプラグインの方法を作るために別のフォルダの参照「CKEditorバージョン」にCKEditorバージョン「プラグインや他のCKEditorバージョンのフォルダ/ファイルを」シフト。

ckeditorが相対参照を使用するには、ディレクトリパスを指定します。

NSString *dataDir = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"ckeditor"]; NSString *filePath = [[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:@"ckeditor"]; NSData *htmlData = [NSData dataWithContentsOfFile:filePath]; NSString *htmlString = [[NSString alloc] initWithData:htmlData encoding:NSUTF8StringEncoding]; NSString *bundlePath = [NSString stringWithFormat:@"%@/",dataDir]; [_webView loadHTMLString:htmlString baseURL:[NSURL URLWithString:bundlePath]];

関連する問題