Repository navigation
Conversation
scripts/ae-macos.sh が引用符未闭合と esac 以降の重複コピーにより
bash -n で失敗していた(line 151: unexpected EOF)。このためブランチ上の
ビルド/検証は実行できていなかった。
- scripts/ae-macos.sh を書き直す。
* PiPL が名指しする entry point が実際に export されているか照合する
* PiPL の AE_Effect_Version と Global_OutFlags が PF_Cmd_GLOBAL_SETUP が
報告する値と一致するか検査する(AE_Effect.h の bit 値から再計算する)
* universal binary の otool -L 出力には slice ごとにヘッダ行が出るため、
先頭 1 行だけ除去すると 2 枚目のヘッダが /Users 依存と見なされるのを修正
* 判定できなかった検査を「一致」と報告しない
* install 前に After Effects の起動を検知して停止する
(補助プロセスの crashpad_handler に照合すると誤検知するため、
アプリ本体のパスで判定する)
- project.yml: Adobe SDK の include を -I から -isystem に移し、SDK 由来の
警告と自分の警告を分離する
- mise.toml: identity 確認用の info task を追加する
match name・パラメータ ID・カテゴリ・PiPL の値は変更していない。
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
After Effects 2026 (26.5) / Apple Silicon で MultiSlicer を build・verify
できる状態にする。
変更点
scripts/ae-macos.shが引用符未闭合で構文エラーになっていたため書き直しました。このためブランチ上の build / verify は実行できていませんでした。
AE_Effect_Version/Global_OutFlagsとPF_Cmd_GLOBAL_SETUPの報告値を突き合わせる検査を追加
otool -L出力は slice ごとにヘッダ行が出るため、先頭 1 行だけの除去では 2 枚目が
/Users依存と見なされる不具合を修正crashpad_handlerに照合すると誤検知するため、アプリ本体のパスで判定)project.ymlの Adobe SDK include を-isystemに移し、mise.tomlにinfotask を追加未解決(本 PR の範囲外)
After Effects は MultiSlicer を適用できません。
canAddProperty()はtrueを返し例外も投げないまま、addProperty()がundefinedを返し、 solidly のEffectsproperty に追加されません。addPropertyの戻り値:undefined(例外なし)fx.numProperties: 0 のままcanAddProperty:truePF_Cmd_PARAMS_SETUPは 6 パラメーターを登録しMULTISLICER_NUM_PARAMS(7、index 0 が input)も整合しており、PiPL / export symbol / codesign も通ります。
EffectMainの各 cmd handler もPF_Err_NONEを返します。そのためAE 側で instantiation が失敗する specific な cmd は特定できていません
(
EffectMainに一時的なログを仕込んで再現させ、原因確定後にログを撤去)。out_flagsにPF_OutFlag_SEND_UPDATE_PARAMS_UIとPF_OutFlag_WIDE_TIME_INPUT、PF_Cmd_EVENTとPF_Cmd_COMPLETELY_GENERALが無条件にPF_Err_NONEを返す点は切り分け候補ですが、断定はしていません。
修正は行っていません。 適用時のコードパスに手を入れる必要があり、
既存
.aepへの影響範囲を確定していないためです。互換性
AE_Effect_Match_Name(361do MultiSlicer)、パラメータ ID、カテゴリ(
361do_plugins)、PiPL の値は変更していません。検証
app.effectsに361do MultiSlicer)🤖 Generated with opencode
既存 CI の状況(重要)
このブランチの push で既存 CI(
Build After Effects Plugin)も走りますが、macOS job と Windows job の両方とも失敗します。これは今回の変更とは無関係な
既存の breakage です。
失敗箇所は SDK の取得ステップで、ログは次のとおりです。
.github/workflows/build.ymlは SDK 25.6 を前提にしています。sdk_file: AfterEffectsSDK_25.6_61_mac.zipRELEASE_TAG_CANDIDATES=("sdk" "ae-sdk_25.6_61" "v25.6.61" "25.6.61")rebuildup/my-ae-sdk-storageからsecrets.AE_SDK_DOWNLOAD_TOKENで取得
この environment では該当 release / asset を取得できず、Mac と Windows の
両方が exit code 1 で終わります。Windows ビルドを壊していないことは
git diffで確認済み(Win/配下のファイル変更は 0 件、Mac/*.xcodeprojも削除していません)。CI の失敗は SDK 取得の前提が満たされていないことが原因で、
コードのコンパイル到達していません。
SDK 25.6 → 26.5 への更新と token の再設定は
ae-plugin-template PR で
記録した「SDK 入手経路が未確定」という未決事項に属します。
今回の PR では CI を変更していません。CI 未実行を成功扱いしないという方針に従い、
上記のとおり失敗を報告します。