2
我們的xamarin.iOS構建需要將近5分鐘。有人有任何洞察,爲什麼這是如此糟糕?我們有一些本地庫,我們鏈接進去。 如果我們可以在沒有清理的情況下進行構建,這種情況並不會那麼糟糕,但是這個Xamarin bug https://bugzilla.xamarin.com/show_bug.cgi?id=52165意味着我們除了乾淨構建之外什麼都做不了。 謝謝。極其緩慢的Xamarin.iOS構建
Tasks perfomance summary:
0.165 ms AssignCulture 1 calls
4.000 ms AssignProjectConfiguration 4 calls
16.440 ms AssignTargetPath 18 calls
24836.932 ms Codesign 1 calls
7561.935 ms CodesignVerify 1 calls
30.837 ms CollectBundleResources 2 calls
0.487 ms CollectFrameworks 1 calls
15.252 ms CollectITunesArtwork 1 calls
18.556 ms CompileAppManifest 1 calls
25.155 ms CompileEntitlements 1 calls
27.335 ms CompileITunesMetadata 1 calls
15.406 ms ComputeBundleResourceOutputPaths 1 calls
737.619 ms Copy 8 calls
0.689 ms CreateAssetPackManifest 1 calls
0.925 ms CreateDebugConfiguration 1 calls
12.812 ms CreateDebugSettings 1 calls
87.254 ms CreateItem 108 calls
0.839 ms CreatePkgInfo 1 calls
0.193 ms CreateProperty 1 calls
2997.449 ms Csc 1 calls
1.307 ms Delete 4 calls
0.669 ms DetectDebugNetworkConfiguration 1 calls
2.607 ms DetectSdkLocations 1 calls
138.342 ms DetectSigningIdentity 1 calls
24605.093 ms DSymUtil 1 calls
30.904 ms EmbedMobileProvision 1 calls
1.635 ms FindAppConfigFile 1 calls
1.453 ms FindItemWithLogicalName 1 calls
7.779 ms FindUnderPath 1 calls
1.678 ms GetNativeExecutableName 1 calls
0.589 ms GetReferenceAssemblyPaths 1 calls
1.546 ms MakeDir 2 calls
0.622 ms Message 2 calls
1359.395 ms MSBuild 5 calls
272271.284 ms MTouch 1 calls
3888.247 ms OptimizeImage 1 calls
157.087 ms OptimizePropertyList 5 calls
0.598 ms ParseExtraMtouchArgs 1 calls
0.319 ms ReadLinesFromFile 1 calls
0.989 ms RemoveDir 3 calls
46.349 ms RemoveDuplicates 1 calls
81.335 ms ResolveAssemblyReference 1 calls
121.745 ms SmartCopy 1 calls
6812.551 ms SpotlightIndexer 1 calls
1.953 ms Touch 2 calls
180.862 ms UnpackLibraryResources 1 calls
2.020 ms ValidateAppBundleTask 1 calls
1.478 ms WriteItemsToFile 2 calls
4.712 ms WriteLinesToFile 2 calls
構建成功。 0警告(S) 0錯誤(S)
已用時間00:05:46.1791850
哪些本機庫和依賴項被鏈接? – ApolloSoftware
它們實際上是第三方.a庫,我們使用gcc命令鏈接。 – JRosanowski
您是從源代碼構建.a庫,還是在構建腳本期間預編譯它們?你可以省略這些庫的構建,並在構建期間手動複製它們嗎? – ApolloSoftware