블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2737)
Unity3D (817)
Programming (474)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
04-25 00:00

ITMS-90427을 처리하기 위해 확인해보니

Unity-iPhone의 Always Embed Swift Standard Libraries를 YES로 하고,

UnityFramework의 Always Embed Swift Standard Libraries를 NO로 하라고 한다.

 

빌드때마다 수동으로 하기는 그래서 Xcode PostProcessBuild로 처리하기로 함.

 

using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
 
namespace Editor
{
    public static class XcodeSwiftVersionPostProcess
    {
        [PostProcessBuild(999)]
        public static void OnPostProcessBuild(BuildTarget buildTarget, string path)
        {
            if (buildTarget == BuildTarget.iOS)
            {
                ModifyFrameworks(path);
            }
        }
 
        private static void ModifyFrameworks(string path)
        {
            string projPath = PBXProject.GetPBXProjectPath(path);
           
            var project = new PBXProject();
            project.ReadFromFile(projPath);
 
            string mainTargetGuid = project.GetUnityMainTargetGuid();
           
            foreach (var targetGuid in new[] { mainTargetGuid, project.GetUnityFrameworkTargetGuid() })
            {
                project.SetBuildProperty(targetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "NO");
            }
           
            project.SetBuildProperty(mainTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
 
            project.WriteToFile(projPath);
        }
    }
}

 

 

[출처] https://forum.unity.com/threads/2019-3-validation-on-upload-to-store-gives-unityframework-framework-contains-disallowed-file.751112/  - unity_Iu70XvRN7XIS4g의 댓글

 

2019.3 - validation on upload to store gives "UnityFramework.framework contains disallowed file"

App runs on phone normally. When trying to validate the app before uploading it to the store, this comes out: Invalid Bundle. The bundle at...

forum.unity.com

 

반응형
Posted by blueasa
, |

[추가]

이 이슈는 ITMS-90427: Invalid Swift Support 연장선인 것 같다.

그래서 ITMS-90427을 처리하면 ITMS-90206은 처리 안해도 되는걸로 보인다.

 

처리 방법은 위 링크에도 있지만 아래와 같다.

 

[In XCode]
Set yes on Always Embed Swift Standard Libraries in target Unity-iPhone in Build Settings.
Set no on Always Embed Swift Standard Libraries in target UnityFramework in Build Settings.

 

--------------------------------------------------------------------------------------------------------------------------------

 

ERROR ITMS-90206: "Invalid Bundle. The bundle at 'OOO.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."


유니티 프레임워크 에러다!


Xcode 아카이브 이후 Upload시 나타나는 문제..
해결 방법은 간단하다.


1. 아카이브한 버전 우클릭
2. Show in Finder
3. 뭐 하나 있는데 그거 우클릭!
4. 패키지 내용 보기
4. Products 폴더 이동
5. Applications 폴더 이동
6. 앱 이름으로 된거 우클릭
7. 패키지 내용 보기
8. Frameworks 폴더 이동
9. UnityFramework.framework 폴더 이동
10. Frameworks 폴더 자체 삭제!!


이후 Upload시 해당 에러가 나타나지 않는다!!
<끝>

 

 

[출처] https://velog.io/@ymsection/Xcode-UnityFramework-Error

 

Xcode - UnityFramework Error:)

ERROR ITMS-90206: "Invalid Bundle. The bundle at 'OOO.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."유니티 프레임워크 에러다!Xc

velog.io

반응형
Posted by blueasa
, |