You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build with a release configuration (or make sure it's signing)
Repeat a few times
Expected Behavior
No error, app is signed.
Actual Behavior
The "Codesign" task failed unexpectedly.
Environment
master
Build Logs
"/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj" (default target) (2) ->
(_PackageOnDemandResources target) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: The "Codesign" task failed unexpectedly. [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: System.AggregateException: One or more errors occurred. (length) ---> System.ArgumentException: length [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000b4] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00031] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00032] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at Xamarin.MacDev.Tasks.CodesignTaskBase+<>c__DisplayClass67_0.<Execute>b__0 (Microsoft.Build.Framework.ITaskItem item) [0x00020] in <3d85981694d14e91b0ee2d89905b53d6>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass32_0`2[TSource,TLocal].<ForEachWorker>b__0 (System.Int32 i) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[TLocal].<ForWorker>b__1 (System.Threading.Tasks.RangeWorker& currentWorker, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x000db] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: --- End of stack trace from previous location where exception was thrown --- [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[TLocal].<ForWorker>b__1 (System.Threading.Tasks.RangeWorker& currentWorker, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x001f1] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.TaskReplicator+Replica`1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: --- End of inner exception stack trace --- [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.TaskReplicator.Run[TState] (System.Threading.Tasks.TaskReplicator+ReplicatableUserAction`1[TState] action, System.Threading.Tasks.ParallelOptions options, System.Boolean stopOnFirstFailure) [0x0005b] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ForWorker[TLocal] (System.Int32 fromInclusive, System.Int32 toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Func`4[T1,T2,T3,TResult] bodyWithLocal, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x00145] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: --- End of stack trace from previous location where exception was thrown --- [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException (System.Collections.ICollection exceptions, System.Threading.CancellationToken cancelToken, System.Exception otherException) [0x0000b] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ForWorker[TLocal] (System.Int32 fromInclusive, System.Int32 toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Func`4[T1,T2,T3,TResult] bodyWithLocal, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x001a5] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (TSource[] array, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x00057] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IEnumerable`1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x00018] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel.ForEach[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] body) [0x0002a] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at Xamarin.MacDev.Tasks.CodesignTaskBase.Execute () [0x00049] in <3d85981694d14e91b0ee2d89905b53d6>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00029] in <b271d93a991841d281a56f67661d6725>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost, Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext, Microsoft.Build.BackEnd.TaskHost taskHost, Microsoft.Build.BackEnd.ItemBucket bucket, Microsoft.Build.BackEnd.TaskExecutionMode howToExecuteTask) [0x001f6] in <b271d93a991841d281a56f67661d6725>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: ---> (Inner Exception #0) System.ArgumentException: length [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000b4] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00031] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00032] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at Xamarin.MacDev.Tasks.CodesignTaskBase+<>c__DisplayClass67_0.<Execute>b__0 (Microsoft.Build.Framework.ITaskItem item) [0x00020] in <3d85981694d14e91b0ee2d89905b53d6>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass32_0`2[TSource,TLocal].<ForEachWorker>b__0 (System.Int32 i) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[TLocal].<ForWorker>b__1 (System.Threading.Tasks.RangeWorker& currentWorker, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x000db] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: --- End of stack trace from previous location where exception was thrown --- [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[TLocal].<ForWorker>b__1 (System.Threading.Tasks.RangeWorker& currentWorker, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x001f1] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.TaskReplicator+Replica`1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in <b7d51802a4dc4818a2e8326fef769990>:0 [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in <b7d51802a4dc4818a2e8326fef769990>:0 <--- [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2154,3): error MSB4018: [/Users/poupou/git/master/SubmissionSamples/iTravel/iTravel/iTravel.csproj]
2 Warning(s)
1 Error(s)
Example Project (If Possible)
It happened here with the iTravel sample - but it happens randomly with others as well.
The text was updated successfully, but these errors were encountered:
spouliot
added
bug
If an issue is a bug or a pull request a bug fix
iOS
Issues affecting Xamarin.iOS
msbuild
Issues affecting our msbuild tasks/targets
labels
May 7, 2019
Steps to Reproduce
Expected Behavior
No error, app is signed.
Actual Behavior
Environment
master
Build Logs
Example Project (If Possible)
It happened here with the iTravel sample - but it happens randomly with others as well.
The text was updated successfully, but these errors were encountered: